1 ¡
CS240 Computer Organization Department of Computer Science Wellesley College
Forms of Address
MIPS machine code and addressing modes
Stored program computer
. . . (232-1) (A+8) (A+4) (A) (12) (8) (4) (0) MIPS Memory
MIPS
.
. . . PC IR $zero MIPS private regs 0 0 0 0 MIPS user regs $v0 $s0 $a0 $t0 $t1 $t2 . . . . . . . . . $s1 . . . (A+24) (A+20) (A+16) (A+12)
- The numeric form of a computer’s instruction set is know
as its machine code.
- Memory addresses can contain either integer data or
instructions represented in numeric form. How do we tell them apart?
- MIPS machine code is a bit complicated, but not as
complicated as Lucy’s. 000000 10001 10010 01000 00000 100000
- 32 bits or one word
Instruction, number, or string?
Machine code 7-3 Machine code 7-4