Section 7.4
Review Questions
Register Transfer Language
Write the RTL for "Add the contents of the A register to memory location 1000 and put the result back into the A register."
What symbol is used to indicate a left shift?
What data structure of high level languages closely models the way that main memory is addressed?
Write an RTL statement which uses the "identity" operation of the ALU. Copy TMP's value into A.
Which of the following RTL statements fits the meaning: "Copy the value of the accumulator into memory address 2148."
A <- m[2148] m[2148] <- A A <- 2148 2148 <- A