|CSE Home||About Us||Search||Contact Info|
This page will show you how to read the front of the green sheet which is provided in the front of the textbook. If all else fails, consider what the same thing would mean in C.
foo = bar
assigns foo to bar, just as in C syntax.
Values in Registers
R[rs]: Refers to the value in the register specified by the rs field of the instruction
Values in Memory
M[foo]: Refers to the memory location specified by the address that foo evaluates to.
M refers to the element stored at address 1549 (and I'd better be doing byte-wise addressing if I use that address).
baz = foo + bar: Means you add foo and bar and assign baz to be the result.
This is the sign extended immediate value (see the bottom left-side of the green sheet).
Computer Science & Engineering|
University of Washington
Seattle, WA 98195-2350
(206) 543-1695 voice, (206) 543-2969 FAX
[comments to Francis]