|
![]() |
![]() |
![]() |
![]() |
|
![]() |
Here's a PDF copy of the 4th edition revised printing green sheet: PDF Hints on reading the green sheetOrderfoo = bar assigns bar to foo, just as in C syntax. Values in RegistersR[rs]: Refers to the value in the register specified by the rs field of the instruction Values in MemoryM[foo]: Refers to the memory location specified by the address that foo evaluates to. M[1549] refers to the element stored at address 1549 (and I'd better be doing byte-wise addressing if I use that address). Arithmeticbaz = foo + bar: Means you add foo and bar and assign baz to be the result. signExtImmedThis is the sign extended immediate value (see the bottom left-side of the green sheet). JumpAddrThis is the address to which a J or JAL instruction will jump. BranchAddrThis is not the branch target address, but in fact the branch byte offset. It must be added to PC+4 to get the branch target address. |
![]() |
Computer Science & Engineering University of Washington Box 352350 Seattle, WA 98195-2350 (206) 543-1695 voice, (206) 543-2969 FAX [comments to Jacob] |