SME
Computer Organization & Architecture · Problem type
Which addressing mode?
Use this for “Which addressing mode does lw x5, 8(x2) use? And beq x5, x6, loop?”
Sort
Which addressing mode is it?
Tap a card, then tap its group.
Look at the last operand: a register, a number, a number with a register in brackets, or a label to jump to.
Assumptions
•
The instructions are RISC-V assembly: the destination register comes first, and x0 to x31 are registers.
•
Each card belongs to the mode that finds its last operand or its target address.
Topic check
See what you know: 5 questions on this topic
New questions each time. Pass to mark it complete.