The CO1 half of the paper. Work each on paper, then reveal.
I.1bigSketch the structure of the IAS computer and name its components.
Four top-level parts: Main Memory (M), Arithmetic-Logic Unit (CA), Program Control Unit (CC), and I/O equipment (I,O). CA + CC = CPU.
Registers inside: AC (accumulator), MQ (multiply-quotient), MBR (memory buffer), IBR (instruction buffer), PC (program counter), MAR (memory address register), IR (instruction register). See the Structure page for the diagram.
I.2Calculate the size of the IAS main memory in bits, bytes, and words.
I.3Show the IAS memory formats (data and instruction).
Number word (40 bits): bit 0 = sign, bits 1–39 = magnitude.
Instruction word (40 bits): two instructions — [opcode 8 | address 12] in bits 0–19 (left) and again in bits 20–39 (right). Each instruction is 20 bits.
Load the positive term (08C) first, then subtract the others.
I.5On the IAS, read a value from address X and write double the value back to X. (Hint: LSH.)
LOAD M(X) ; AC = M(X)
LSH ; AC = AC × 2
STOR M(X) ; M(X) = 2·M(X)
LSH shifts AC left one bit = multiply by 2.
I.6bigIf IAS memory is increased by 2ⁿ times, what is the new address size, and the max n for which the instruction size does not change?
New rows = 212×2n=212+n, so new address = (12 + n) bits.
The instruction’s address field is 12 bits, so the format is unchanged only while 12+n≤12 → max n = 0. Any increase (n≥1) needs a wider address field, changing the instruction size.
I.7Name the seven IAS registers and what each holds.
AC accumulator · MQ multiply-quotient · MBR memory buffer · IBR instruction buffer · PC program counter · MAR memory address register · IR instruction register.