ITEC 1010 Quiz: AssignmentAnswerFormITEC1000-3 7.42.59 PM

230 views5 pages

Document Summary

Section: [ ] m (monday) [ ] n (tuesday) (please, mark or circle one!!!) Please, enter your answers using ms word text editor. a. 1 b: we need 8-bits to represent 256 op codes (28 = 256). And two bits are reserved for indicating addressing mode: then the number of bits in the address part of the instruction will be = 20-(8+2) = 12-bits. In direct addressing mode/absolute addressing mode, the effective address is part of the instruction, so you will be able to access 212 = 4096 locations c. The register contains a memory address (base), and address field in the instruction contains the displacement from that address(offset). There is no mention of what kind of arithmetic is being done for base and offset. It can shift the value in the base register by 12-bits so it essentially selects a specific 4096 byte word. Offset will then select bytes within that word.