Professional Documents
Culture Documents
For this lab assignment, you will learn about Jump Instructions (Unconditional Jump and Conditional Jump) in 8085
microprocessors.
Jump instructions specify the memory locations explicitly – 3-byte instruction – one byte for operation code, followed
by 16-bit memory address.
Instructions Description
Questions
1. What is the output on output port 1, when the following instructions are executed? Justify your answer.
2. Load the hexadecimal numbers 9BH and A7H in registers D and E, respectively, and add the numbers. If
the sum is greater than FFH, display 01H at output port 0; otherwise, display the sum. Use JNC
instruction.
3. Rewrite the above program using JC instruction.
4. Load the hexadecimal numbers 42H and 69H in registers B and C, respectively. Subtract C from B. If the
result is negative display its 2’s complement at PORT01; if the result is positive display it at PORT02.
Reference
“Microprocessor Architecture, Programming, and Applications with the 8085”, Ramesh S. Gaonkar, 6th
Edition, Penram International Publishing (India) Private Limited, 2013.