Question: Problem 1) Generate the machine code of following Sim68 assembly program (generate all addresses and provide your answer in Binary as well as in HEX):

 Problem 1) Generate the machine code of following Sim68 assembly program

Problem 1) Generate the machine code of following Sim68 assembly program (generate all addresses and provide your answer in Binary as well as in HEX): org $1000 sub dl,d1 movea dl, a move n(a0), d2 move X(ao),d0 loop move neg_one (a0), di add dl,d0 cmp d0, d1 blt loop muls d0, do move d0, y(a) swap do move d0,y+2 (a0) move exitcode (al),d0 trap #0 dc dc neg_one dc ds exitcode end O INM dc

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!