Professional Documents
Culture Documents
0 TITLE :
To write a program to multiply 05H and 03H .
3. To enter a hex number in register C. 4. To form a loop using JUMP instruction. 5. To multiply the contents of register B & register C in the accumulator.
5.0 APPARATUS:
8085 Microprocessor Kit.
6.0
05 OE 03 80 OD C2 06 70 CF RST 1 Reset ADD B DCR C JNZ ADD value of B to A Decrement C by 01H Jump if no zero to 7006 MVI C , 03 H Load 03H in register C
The contents of the various registers including flag register will be : A= 0F B= 05 C= 00 D= 00 Flag Register F : E=00 F=54 H=00 L=00
D7 S 0
D6 Z 1
D5 X 0
D4 AC 1
D3 X 0
D2 P 1
D1 X 0
D0 CY 0