Question: Partial list of opcodes for the hypothetical machine shown above is given below: $1001=$ Load AC from Memory: $quad 1110=$ Store AC to Memory: $quad

 Partial list of opcodes for the hypothetical machine shown above is

Partial list of opcodes for the hypothetical machine shown above is given below: $1001=$ Load AC from Memory: $\quad 1110=$ Store AC to Memory: $\quad 0101=$ Add to AC from Memory: $0011=$ Load $\mathrm{AC}$ from $\mathrm{L) / \mathrm{0}: 0111=$ Store $\mathrm{AC}$ to $\mathrm{L} / \mathrm{0} ; 1011=$ Divide contents of $\mathrm{AC} $ from Memory. In these cases, the 12 bit address identifies a particular $\mathrm{I} / \mathrm{0}$ device. Write program to divide content of Memory $6 \mathrm{-A} O \mathrm{H} $ by content of Memory $2 \mathrm{-A) 0 \mathrm{H}$ and send the result (assume no remainder) to an output device connected at port $5 \mathrm{-A} 3 \mathrm{H}$. Also show the program execution. Assume that data read from $6 \mathrm{-A} 0 \mathrm{H}$ and $2 \mathrm{-A} \mathrm{H}$ are 25 and 5 respectively. CS.VS. 1140

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!