Write program to divide content of Memory 6A0H by content of Memory 2A0H and send the result to an output device connected at port 5A3H.
Transcript: Partial list of opcodes for the hypothetical machine shown above is given below:
1001 = Load AC from Memory; 1110 = Store AC to Memory; 0101 = Add to AC from
Memory; 0011 = Load AC from I/O; 0111 = Store AC to I/O; 0111 = Divide contents of AC
from Memory. In these cases, the 12 bit address identifies a particular I/O device. Write program to divide
content of Memory 6A0H by content of Memory 2A0H and send the result (assume no
remainder) to an output device connected at port 5A3H. Also show the program execution.
Assume that data read from 6A0H and 2A0H are 25 and 5 respectively.
in progress
Basic Computer Organizations and Design
1 Answer
Ayat Islam
Login to view answer.