Write in each sheet of paper: your name and signature, student id, course
name, and page number.
Based on the input, the circuit determines which display segments will be activated (lit). We now concentrate only on display segment Z5 (vertical line, left, bottom) and the output pin Z5 controlling it. The value of output pin Z5 is one (1) when that segment is lit.
Load R2, VarX ; Regs(R2) <- Mem(VarX) Add R5, R2 ; Regs(R5) <- Regs (R5) + Regs(R2) Load R2, VarY Add R3, R2 Mul R3, R5 Jnzer R2, Loop Add R4, R2Many aspects in the preceding code segment may reduce the execution speed from the maximum possible for that architecture.
Make all needed assumptions and write them down.