Question: WRITE A PEP/9 ASSEMBLER PROGRAM This program divides a number by a number by shifting right and subtracting. Each shift right halves the number. For

WRITE A PEP/9 ASSEMBLER PROGRAM

This program divides a number by a number by shifting right and subtracting. Each shift right halves the number.

For example, if we shift 0x02 one bit to the right the answer is 0x01 (0000 0010 shifted left is 0000 0001).

IN THIS PROGRAM provide complete assembly code that Divides 0x28 by 0x10 (in decimal it is 40 divided 16,

but leave the output answer in hex).

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!