ASSEMBLY LANGUAGE PROGRAMMING
ARCHITECTURE OF 8085
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
BRA
|
|
BRZ
|
|
BRP
|
|
None of the above
|
Detailed explanation-1: -BRZ-branch if the outcome is 0. BRP-branch if the outcome is positive or zero. BRP plays the major role here: it branches out the execution to a sub-route, defined as isPositive., if A-B turns out to be positive. Otherwise, the execution continues along the main route.
Detailed explanation-2: -BRP is ‘Branch is Positive’. If the result of Number1-Number2 is positive then the program will jump to line 11. You can write any value instead of ‘loop’, such as ‘jump’ or ‘break’. If the result is not positive it will continue to the next line.
Detailed explanation-3: -In the center of the room, there is a work area containing a simple two function (addition and subtraction) calculator known as the Accumulator and a resettable counter known as the Program Counter. The Program Counter holds the address of the next instruction the Little Man will carry out.