Computer Science 237 |
Lecture 29: The WC34000 Computer
Date: November 17, 2006
mpc := band(ir,63);
srcop := band(ir,63); if z then goto DDir; mpc := srcop+mpc; ADir: ... !! Address Reg Direct Modeit branches to any of the next 63 instructions if the value srcop bits are non-zero, and to the instruction found at DDir if these source bits are zero
mpc:=ir;the machine decodes the low 10 bits of your instruction in one step (!!!)
add 4(a6),5(a6)for example, requires 3 instruction words, all of whom must be read, along with two more memory reads and one write