Whatsapp +27682021794
www.myassignments.co.za
COS2621
Assignment 02
2023
Due date
26 September 2023,
11:00 PM
UNIQUE NUMBER: 279444
, QUESTION 1
(a) What values do the following instructions load into the
accumulator?
LOAD IMMEDIATE 300 Load immediate means that the value that should be loaded
is part of the instruction and therefore it is immediately available. The value 300 will
be stored in the accumulator.
LOAD DIRECT 320 Load direct means that the address of the operand is given in the
instruction. Address 320 contains the value 305, therefore 305 will be loaded into the
accumulator.
LOAD INDIRECT 325 Load indirect means that the address of the address of the
operand is part of the instruction. Address 325 contains 300, therefore 300 is the
address of the operand. Address 300 contains the value 320, therefore 320 will be
loaded into the accumulator.