0% found this document useful (0 votes)
5 views

CS2 Practical

The document is a practical handbook for SYJC (Science) students at Nirmala College of Commerce and Science, focusing on Computer Science 2 (Hardware). It includes a series of programming exercises for a microprocessor kit, detailing aims, algorithms, programs, and observations for tasks such as reversing data order, exchanging memory blocks, and finding absolute differences. Each practical section concludes with an observation table and a conclusion summarizing the results of the executed programs.

Uploaded by

Yash Khadepau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

CS2 Practical

The document is a practical handbook for SYJC (Science) students at Nirmala College of Commerce and Science, focusing on Computer Science 2 (Hardware). It includes a series of programming exercises for a microprocessor kit, detailing aims, algorithms, programs, and observations for tasks such as reversing data order, exchanging memory blocks, and finding absolute differences. Each practical section concludes with an observation table and a conclusion summarizing the results of the executed programs.

Uploaded by

Yash Khadepau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

NIRMALA COLLEGE OF

COMMERCE AND SCIENCE


HAND BOOK

SYJC (Science)

Computer Science 2 (Hardware)


INDEX

Prg. Name of the Program Date Signature


No.
1 Reverse Order

2 Exchange of memory blocks

3 Absolute Difference

4 Even and Odd numbers

5 First Occurrence of ABH

6 Total occurrences of ABH

7 Multiplication

8 Smallest and Largest numbers

9 Separate nibbles and multiply

10 BCD addition

11 Subroutine Program

12 8085 Kit as calculator


Practical No: - 1

AIM:-
A) A block of data is stored in memory location from C030 H to C039 H. Write
a program to transfer the data in Reverse Order to memory location starting
from C090 H.
B) Enter the program on microprocessor kit.
C) Execute the program. Write the contents of both data blocks before and after
execution as well as the contents of the registers used in the program after
execution and the bit contents of five flags individually. Verify the results.

ALGORITHM:-

1. Start.
2. Initialize HL pair by C039 H.
3. Initialize DE pair by C090 H.
4. Initialize Register C by 0A H.
5. Copy data from memory location pointed by HL register pair to
accumulator.
6. Store the accumulator data into the memory location pointed by DE
register pair.
7. Decrease HL register pair by 1.
8. Increase DE register pair by 1.
9. If C≠0 then go to step 5.
10. Stop.

PROGRAM:-

Memory Label Hex Mnemonics Comments


Location Code
C000 H 21 LXI H, C039 H ; Copy C039H to HL pair.
C001 H 39
C002 H C0
C003 H 11 LXI D, C090 H ; Copy C090H to DE pair
C004 H 90
C005 H C0
C006 H 0E MVI C, 0A H ; Copy 0AH into C register
C007 H 0A
C008 H : Back 7E MOV A,M ; Move the contents of memory location
Pointed by HL pair to accumulator.
C009 H 12 STAX D ; Store the contents of accumulator into DE
register pair.
C00A H 2B DCX H ; Decrement HL pair by 1
C00B H 13 INX D ; Increment DE pair by 1
C00C H 0D DCR C ; Decrement C register by 1.
C00D H C2 JNZ C008 H ; Jump to Back if Register C≠0
C00E H 08
C00F H C0
C010 H CF RST 1 ; Stop
OBSERVATION TABLE: -

Memory Before After Memory Before After


Location Execution Execution Location Execution Execution
C030 H 21 21 C090 H 00 21
C031 H 22 22 C091 H 00 22
C032 H 23 23 C092 H 00 23
C033 H 24 24 C093 H 00 24
C034 H 25 25 C094 H 00 25
C035 H 26 26 C095 H 00 26
C036 H 27 27 C096 H 00 27
C037 H 28 28 C097 H 00 28
C038 H 29 29 C098 H 00 29
C039 H 30 30 C099 H 00 30
Memory Before After
REGISTER VALUES:-
Location Execution Execution
C030 H
Register
C031 H Contents Register Contents
A H
C032 21 H C0
B H
C033 01 L 2F
C H
C034 00 SP
D H
C035 C0 FFEb
E H
C036 9A PC
F H
C037 54 C011
C038REGISTER:-
FLAG H
C039 H
S Z X AC X P X CY
0 1 0 1 0 1 0 0

CONCLUSION:-
Thus we have executed the program for transfer of data in reverse order.

Teacher Signature :
Practical No.: 2

AIM:-

A) A block of data is stored in memory location from C030 H to C039 H.


Another block of data having the same length is stored in memory location
starting from C090 H. Write a program to Exchange the contents of these
two blocks.
B) Enter the program on microprocessor kit.
C) Execute the program. Write the contents of both data blocks before and after
execution as well as the contents of the registers used in the program after
execution and the bit contents of five flags individually. Verify the results.

ALGORITHM:-

1. Start.
2. Initialize HL register pair by C030 H.
3. Initialize DE register pair by C090 H.
4. Initialize Register C by 0A H.
5. Copy the contents of memory location pointed by HL pair to B register.
6. Copy the contents of memory location painted by DE pair to accumulator.
7. Copy the contents of accumulator to memory location pointed by HL pair.
8. Copy the contents of B register to accumulator.
9. Store the contents of accumulator into memory location pointed by DE pair
10. Increment HL pair by 1.
11. Increment DE pair by 1
12.Decrement C register by 1.
13. If C ≠0 then go to step 5.
14. Stop.
PROGRAM: -

Memory Label Hex Mnemonics Comments


Location Code
C000 H 21 LXIH, C030 H ; Copy C030H into HL register pair.
C001 H 30
C002 H C0
C003 H 11 LXI D, C090 H ; Copy C090H into DE register pair.
C004 H 90
C005 H C0
C006 H 0E MVI C, 0A H ; Copy 0AH into C register.
C007 H 0A
C008 H : Back 46 MOV B,M ; Copy the contents of memory
Location pointed by HL pair to B register.
C009 H 1A LDAX D ; Copy the contents of
memory location pointed by
DE pair to accumulator.
C00A H 77 MOV M,A ; Copy the content of accumulator to
memory location pointed by HL pair.
C00B H 78 MOV A,B ; Copy the contents of B register to
Accumulator.
C00C H 12 STAX D ; Store the contents of accumulator to
Memory location pointed by DE pair.
C00D H 23 INX H ; Increment HL pair by 1.
C00E H 13 INX D ; Increment DE pair by 1.
C00F H 0D DCR C ; Decrement C register by 1.
C010 H C2 JNZ C008 H ; Jump on Back If Register C≠ 0.
C011 H 08
C012 H C0
C013 H CF RST 1 ; Stop.
OBSERVATION TABLE:-

Memory Before After Memory Before After


Location Execution Execution Location Execution Execution
C030 H 11 21 C090 H 21 11
C031 H 12 22 C091 H 22 12
C032 H 13 23 C092 H 23 13
C033 H 14 24 C093 H 24 14
C034 H 15 25 C094 H 25 15
C035 H 16 26 C095 H 26 16
C036 H 17 27 C096 H 27 17
C037 H 18 28 C097 H 28 18
C038 H 19 29 C098 H 29 19
C039 H 20 30 C099 H 30 20

REGISTER VALUES:-
Register Contents Register Contents
A 20 H C0
B 20 L 3A
C 00 SP
D C0 FFEb
E 9A PC
F 54 C014

FLAG REGISTER:-
S Z X AC X P X CY
0 1 0 1 0 1 0 0

CONCLUSION:-
Thus we have executed the program for the exchange of two memory block.

Teacher Signature :
Practical No: - 3

AIM:-

A) Write a program that subtracts the number stored in C031 H from the
number stored in C030 H. Store the absolute difference in memory
locationC090 H as result.
B) Enter the program on microprocessor kit.
C) Execute the program. Write the contents of both data blocks before and after
execution as well as the contents of the registers used in the program after
execution and the bit contents of five flags individually. Verify the results.

ALGORITHM:-

1. Start.
2. Initialize HL pair by C030 H.
3. Copy the contents from memory location pointed by HL pair into
accumulator.
4. Increase HL pair by 1.
5. Subtract the data of memory location pointed by HL pair from the contents
of accumulator.
6. If the difference is positive than go to step 9.
7. Complement the content of accumulator.
8. Increment the content of accumulator.
9. Store the data of accumulator as a result in memory location C090 H.
10. Stop.

PROGRAM:-

Memory Label Hex Mnemonics Comments


Location Code
C000 H 21 LXI H, C030 H ; Copy C030 H in HL register pair
C001 H 30
C002 H C0
C003 H 7E MOV A,M ; Copy the contents of memory
Location pointed by HL pair to accumulator
C004 H 23 INX H ; Increment HL pair by 1
C005 H 96 SUB M ; Subtract the contents of memory
Location pointed by HL pair from the
Contents of accumulator
C006 H F2 JP C00B H ; Jump If the subtraction result
is Positive to Next
C007 H 0B
C008 H C0
C009 H 2F CMA ; Complement the contents of accumulator
C00A H 3C INR A ; Add 01h to the contents of accumulator
C00B H : Next 32 STA C090 H ; Store the contents of
Accumulator As a result to C090H
C00C H 90
C00D H C0
C00E H CF RST 1 ; Stop.

OBSERVATION TABLE:-

Execution I [Positive Diffrence]

Memory Before After


Memory Before After
location Execution Execution
Location Execution Execution
C030H 05 05
C090H 00 03
C031H 02 02

REGISTER VALUES:-
Register Contents Register Contents
A 03 H C0
B 00 L 31
C 00 SP
D 00 FFEb
E 00 PC
F 14 C00F

FLAG REGISTER:-
S Z X AC X P X CY
0 0 0 1 0 1 0 0
Execution II [Negative diffrence]

Memory Before After


Memory Before After
location Execution Execution
Location Execution Execution
C030H 02 02
C090H 00 03
C031H 05 05

REGISTER VALUES:-
Register Contents Register Contents
A 03 H C0
B 01 L 31
C 00 SP
D 00 FFEb
E 00 PC
F 05 C00F

FLAG REGISTER:-

S Z X AC X P X CY
0 0 0 0 0 1 0 1

CONCLUSION:-

Thus we have executed the program to find the absolute difference.

Teacher Signature :
Practical No. 5

AIM:-

A) A block of data is stored in memory location from C031 H. The length of the
block is stored at C030 H. Write a program that searches for first occurrence
of data type ‘AB H’ in the given block. Store the address of this occurrence in
HL pair. If number is not found, then HL pair must contain FFFF H.
B) Enter the program on the microprocessor kit.
C) Execute the program. Write the contents of both data blocks before and after
execution as well as contents of register used in the program after execution
and the bit contents of five flags individually. Verify the results.

ALGORITHM:-

1. Start.
2. Load HL pair with C030 H.
3. Copy the contents of memory location pointed by HL pair in to C register.
4. Increase the contents of HL pair by 1.
5. Copy ABH in to A register.
6. Compare the contents of accumulator with the contents of memory pointer.
7. If Z=0 then jump to stop.
8. Increase the contents of HL pair.
9. Decrease the contents of C register by 1.
10. If Z≠0 then jump to back.
11. Load HL pair by FFFF H.
13. Stop.

PROGRAM :-

MEMORY LABEL HEX MNEMONICS COMMENTS


LOCATION CODE
C000 H 21 LXI H,CO30H ; Load HL pair with C030H.
C001 H 30
C002 H C0
C003 H 4E MOV C,M ; Copy the contents of memory
location pointed by
HL pair in to C register.
C004 H :BACK 23 INX H ; Increase the contents of
HLpair by 1.
C005 H 3E MVI A, AB H ; Write data DB H into register A.
C006 H AB
C007 H BE CMP M ; Compare the contents of
accumulator with memory
pointer.
C008 H CA JZ C012 H ; If Z=0 then jump to STOP.
C009 H 12
C00A H C0
C00B H 0D DCR C ; Decrease the contents of
Cregister by 1
C00C H C2 JNZ C004 H ; If Z≠0 then jump to BACK.
C00D H 04
C00E H C0
C00F H 21 LXI H, FFFF H ; Load HL pair by FFFF H.
C010 H FF
C011 H FF
C012 H :STOP CF RST 1 ; Stop.

OBSERVATION TABLE:-

CASE 1:- BLOCK OF DATA CONTAINING AB H.

MEMORY BEFORE AFTER


LOCATION EXECUTION EXECUTION
C030 H 08 08
C031 H 01 01
C032 H AB AB
C033 H 02 02
C034 H AB AB
C035 H 03 03
C036 H 04 04
C037 H 05 05
C038 H 06 06
REGISTER TABLE:-

Register Contents Register Contents


A AB H C0
B 01 L 32
C 07 SP
D 00 FFEB
E 00 PC
F 54 C013

FLAG STRUCTURE:-

S Z X AC X P X CY
0 1 0 1 0 1 0 0

CASE 2:- BLOCK OF DATA DOES NOT CONTAIN AB H.

MEMORY BEFORE AFTER


LOCATION EXECUTION EXECUTION
C030 H 08 08
C031 H 01 01
C032 H 02 02
C033 H 03 03
C034 H 04 04
C035 H 05 05
C036 H 06 06
C037 H 07 07
C038 H 08 08
REGISTER TABLE:-

Register Contents Register Contents


A AB H FF
B 01 L FF
C 00 SP
D 00 FFEB
E 00 PC
F 54 C013

FLAG STRUCTURE:-

S Z X AC X P X CY
0 1 0 1 0 1 0 0

CONCLUSION:-

Thus, we have executed the program to find first occurrence of data type ‘AB H’
in the given block.

Teacher’s Signature:
Practical No.:- 6

AIM:-

A) The block of data is stored in memory location C031 H. The length of block is
stored at C030 H. Write a program that counts the occurrence of the number
‘AB H’ in the given block. Store the result in C090 H.
B) Enter the program on the microprocessor kit.
C) Execute the program. Write the contents of both data blocks before and after
execution as well as contents of register used in the program after execution
and the bit contents of five flags individually. Verify the results.

ALGORITHM:-

1. Start.
2. Load HL pair with C030 H.
3. Copy the contents of memory location pointed by HL pair in to C register.
4. Initialize A register with AB H.
5. Initialize B register with 00 H.
6. Increase the contents of HL pair by 1.
7. Compare the contents of accumulator with the contents of memory pointer.
8. If Z≠0 then jump to step 10.
9. Increase the contents of B register by 1.
10. Decrease the contents of C register by 1.
11. If Z≠0 then jump to step 6.
12. Copy the contents of B register in to accumulator.
13.Store the contents of accumulator at C090 H.
14.Stop.
PROGRAM :-

MEMORY LABEL HEX MNEMONICS COMMENTS


LOCATION CODE
C000 H 21 LXI H, CO30 H ; Load HL pair with C030H.
C001 H 30
C002 H C0
C003 H 4E MOV C, M ; Move the contents of memory
location pointed by HL pair in to C
register.
C004 H 3E MVI A, AB H ; Move AB H in to A register.
C005 H AB
C006 H 06 MVI B, 00 H ; Move 00H in to B register.
C007 H 00
C008 H :BACK 23 INX H ; Increase the contents of HL pair by 1.
C009 H BE CMP M ; Compare the contents of
memory pointer with the
contents of accumulator.
C00A H C2 JNZ C00E H ; If Z≠0 then jump to SKIP.
C00B H 0E
C00C H C0
C00D H 04 INR B ; Increase the contents of B register
by 1.
C00E H :SKIP 0D DCR C ; Decrease the contents of C register by
1.
C00F H C2 JNZ C008 H ; If Z≠0 then jump to BACK.
C010 H 08
C011 H C0
C012 H 78 MOV A,B ; Move the contents of B register in
to the accumulator.
C013 H 32 STA C090 H ; Store the contents of accumulator
C014 H 90 atmemory location C090 H.
C015 H C0
C016 H CF RST 1 ; Stop.
OBSERVATION TABLE:-

MEMORY BEFORE AFTER


LOCATION EXECUTION EXECUTION
C030 H 08 08
C031 H 12 12
C032 H AB AB
C033 H 14 14
C034 H AB AB
C035 H 16 16
C036 H AB AB
C037 H 18 18
C038 H AB AB
C090 H 00 AB

REGISTER TABLE:-

Register Contents Register Contents


A 04 H C0
B 04 L 38
C 00 SP
D 00 FFEB
E 85 PC
F 54 C017

FLAG STRUCTURE:-

S Z X AC X P X CY
0 1 0 1 0 1 0 0

CONCLUSION:-

Thus, we have executed the program to find total occurrence of data type ‘AB
H’in the given block.

Teacher’s Signature:
Practical No.:- 11

A) Write a program that uses keyboard subroutine 02E7H to accept two digits
from the keypad as input. Store them separately in the consecutive
memory locations C030 H and C031 H. Store the 1 byte result to the
immediate next memory location.
B) Enter the program on the microprocessor kit.
C) Execute the program. Write the contents of both data blocks before and after
execution as well as contents of register used in the program after execution
and the bit contents of five flags individually. Verify the results.

Algorithm:

1. Call subroutine program to accept one digit no, in register A.


2. Initialize HL pair by C030H.
3. Call subroutine program to accept another one digit no, in register A.
4. Add the content of erg. B to reg. A.
5. Decimally adjust data of accumulator.
6. Call subroutine program to display data of register A.
7. Unconditionally jump to step 1.

PROGRAM :-

Memory Label Hex Mnemonics Comments


Location Code
C000 H :START CD CALL 02E7 H ; Subroutine program of memory address
C001 H E7 02E7 H is called.
C002 H 02
C003 H 21 LXI H, C030 H ; Initialize HL pair with C030 H.
C004 H 30
C005 H C0
C006 H 77 MOV M,A ; Copy the contents of accumulator to
Memory location pointed by HL pair.
C007 H 0F RRC ; Rotate the contents of accumulator
Towards right by 1 bit.
C008 H 0F RRC ; Rotate the contents of accumulator
Towards right by 1 bit.
C009 H 0F RRC ; Rotate the contents of accumulator
Towards right by 1 bit.
C00A H 0F RRC ; Rotate the contents of accumulator
Towards right by 1 bit.
C00B H 47 MOV B,A
C00C H CD CALL 02E7 H ; Subroutine program of memory address
C00D H E7 02E7 H is called.
C00E H 02
C00F H 21 LXI H, C031 H ; Initialize HL pair with C031 H.
C010 H 31
C011 H C0
C012 H 77 MOV M,A ; Copy the contents of
accumulator to the memory
location pointed By HL pair.
C013 H 80 ADD B ; Adding data of register B with Register A.
C014 H 23 INX H ; Increment HL pair by 1.
C015 H 77 MOV M,A ; Copy the contents of accumulator to the
memory location pointed By HL pair.
C016 H : STOP CF RST 1 ; Stop processing.

OBSERVATION TABLE: -

MEMORY BEFORE AFTER


LOCATION EXECUTION EXECUTION
C030 H 00 05
C031 H 00 03
C032 H 00 53

REGISTER VALUES:-
Register Contents Register Contents
A 53 H C0
B 50 L 32
C 00 SP
D 00 FFEB
E 00 PC
F 04 C017
FLAG STRUCTURE:-

S Z X AC X P X CY
0 0 0 0 0 1 0 0

CONCLUSION:-

Thus, we have executed the program to accept two numbers from keypad
and successfully display the merged 1 byte result at given memory
address.

Teacher’s Signature:
Practical No.:- 12

A) Write a program for using microprocessor kit as a calculator that would


accept two BCD numbers from keypad. Show the input numbers as well as
BCD Sum on the Display. Use the monitor routine to clear the Display.
Necessary information about the routine will be given by the Examiner.
B) Enter the program on the microprocessor kit.
C) Execute the program. Verify the results.

Algorithm:

1. Call subroutine program to accept one digit no, in register A.


2. Copy the data of reg. A to reg. B.
3. Call subroutine program to accept another one digit no, in register A.
4. Add the content of erg. B to reg. A.
5. Decimally adjust data of accumulator.
6. Call subroutine program to display data of register A.
7. Unconditionally jump to step 1.

Program:

Memory Label Hex Mnemonics Comments


Location Code
C000H : START CD CALL 02E7 H ; Subroutine program of memory address
C001H E7 02E7 H is called.
C002H 02
C003H 47 MOV B, A ; Copy the contents of A
Register into B register.
C004H CD CALL 02E7 H ; Subroutine program of memory address
C005H E7 02E7 H is called.
C006H 02
C007H 80 ADD B ; Adding data of register B with
Register A
C008H 27 DAA ; Decimally adjust the content
of accumulator.
C009 H CD CALL 036E H ; Subroutine program of memory address
C00A H 6E
C00BH 03 036E H is called.
C00CH C3 JMP C000 H ; Unconditional jump to label START.
C00DH 00
C00EH C0

Observation :

1 (BCD) + 5 (BCD) = 6 (BCD)

CONCLUSION:-

Thus, we used microprocessor 8085 as calculator successfully.

Teacher’s Signature:
www.eazynotes.com Gursharan Singh Tatla Page 1 of 6

OPCODES TABLE OF INTEL 8085

Opcodes of Intel 8085 in Alphabetical Order

Sr. No. Mnemonics, Operand Opcode Bytes


1. ACI Data CE 2
2. ADC A 8F 1
3. ADC B 88 1
4. ADC C 89 1
5. ADC D 8A 1
6. ADC E 8B 1
7. ADC H 8C 1
8. ADC L 8D 1
9. ADC M 8E 1
10. ADD A 87 1
11. ADD B 80 1
12. ADD C 81 1
13. ADD D 82 1
14. ADD E 83 1
15. ADD H 84 1
16. ADD L 85 1
17. ADD M 86 1
18. ADI Data C6 2
19. ANA A A7 1
20. ANA B A0 1
21. ANA C A1 1
22. ANA D A2 1
23. ANA E A3 1
24. ANA H A4 1
25. ANA L A5 1
26. ANA M A6 1
27. ANI Data E6 2
28. CALL Label CD 3
29. CC Label DC 3
30. CM Label FC 3
31. CMA 2F 1
32. CMC 3F 1
33. CMP A BF 1
34. CMP B B8 1
35. CMP C B9 1
36. CMP D BA 1
37. CMP E BB 1
38. CMP H BC 1
39. CMP L BD 1
40. CMP M BD 1
41. CNC Label D4 3
42. CNZ Label C4 3
www.eazynotes.com Gursharan Singh Tatla Page 2 of 6

Sr. No. Mnemonics, Operand Opcode Bytes


43. CP Label F4 3
44. CPE Label EC 3
45. CPI Data FE 2
46. CPO Label E4 3
47. CZ Label CC 3
48. DAA 27 1
49. DAD B 09 1
50. DAD D 19 1
51. DAD H 29 1
52. DAD SP 39 1
53. DCR A 3D 1
54. DCR B 05 1
55. DCR C 0D 1
56. DCR D 15 1
57. DCR E 1D 1
58. DCR H 25 1
59. DCR L 2D 1
60. DCR M 35 1
61. DCX B 0B 1
62. DCX D 1B 1
63. DCX H 2B 1
64. DCX SP 3B 1
65. DI F3 1
66. EI FB 1
67. HLT 76 1
68. IN Port-address DB 2
69. INR A 3C 1
70. INR B 04 1
71. INR C 0C 1
72. INR D 14 1
73. INR E 1C 1
74. INR H 24 1
75. INR L 2C 1
76. INR M 34 1
77. INX B 03 1
78. INX D 13 1
79. INX H 23 1
80. INX SP 33 1
81. JC Label DA 3
82. JM Label FA 3
83. JMP Label C3 3
84. JNC Label D2 3
85. JNZ Label C2 3
86. JP Label F2 3
87. JPE Label EA 3
88. JPO Label E2 3
89. JZ Label CA 3
www.eazynotes.com Gursharan Singh Tatla Page 3 of 6

Sr. No. Mnemonics, Operand Opcode Bytes


90. LDA Address 3A 3
91. LDAX B 0A 1
92. LDAX D 1A 1
93. LHLD Address 2A 3
94. LXI B 01 3
95. LXI D 11 3
96. LXI H 21 3
97. LXI SP 31 3
98. MOV A, A 7F 1
99. MOV A, B 78 1
100. MOV A, C 79 1
101. MOV A, D 7A 1
102. MOV A, E 7B 1
103. MOV A, H 7C 1
104. MOV A, L 7D 1
105. MOV A, M 7E 1
106. MOV B, A 47 1
107. MOV B, B 40 1
108. MOV B, C 41 1
109. MOV B, D 42 1
110. MOV B, E 43 1
111. MOV B, H 44 1
112. MOV B, L 45 1
113. MOV B, M 46 1
114. MOV C, A 4F 1
115. MOV C, B 48 1
116. MOV C, C 49 1
117. MOV C, D 4A 1
118. MOV C, E 4B 1
119. MOV C, H 4C 1
120. MOV C, L 4D 1
121. MOV C, M 4E 1
122. MOV D, A 57 1
123. MOV D, B 50 1
124. MOV D, C 51 1
125. MOV D, D 52 1
126. MOV D, E 53 1
127. MOV D, H 54 1
128. MOV D, L 55 1
129. MOV D, M 56 1
130. MOV E, A 5F 1
131. MOV E, B 58 1
132. MOV E, C 59 1
133. MOV E, D 5A 1
134. MOV E, E 5B 1
135. MOV E, H 5C 1
136. MOV E, L 5D 1
www.eazynotes.com Gursharan Singh Tatla Page 4 of 6

Sr. No. Mnemonics, Operand Opcode Bytes


137. MOV E, M 5E 1
138. MOV H, A 67 1
139. MOV H, B 60 1
140. MOV H, C 61 1
141. MOV H, D 62 1
142. MOV H, E 63 1
143. MOV H, H 64 1
144. MOV H, L 65 1
145. MOV H, M 66 1
146. MOV L, A 6F 1
147. MOV L, B 68 1
148. MOV L, C 69 1
149. MOV L, D 6A 1
150. MOV L, E 6B 1
151. MOV L, H 6C 1
152. MOV L, L 6D 1
153. MOV L, M 6E 1
154. MOV M, A 77 1
155. MOV M, B 70 1
156. MOV M, C 71 1
157. MOV M, D 72 1
158. MOV M, E 73 1
159. MOV M, H 74 1
160. MOV M, L 75 1
161. MVI A, Data 3E 2
162. MVI B, Data 06 2
163. MVI C, Data 0E 2
164. MVI D, Data 16 2
165. MVI E, Data 1E 2
166. MVI H, Data 26 2
167. MVI L, Data 2E 2
168. MVI M, Data 36 2
169. NOP 00 1
170. ORA A B7 1
171. ORA B B0 1
172. ORA C B1 1
173. ORA D B2 1
174. ORA E B3 1
175. ORA H B4 1
176. ORA L B5 1
177. ORA M B6 1
178. ORI Data F6 2
179. OUT Port-Address D3 2
180. PCHL E9 1
181. POP B C1 1
182. POP D D1 1
183. POP H E1 1
www.eazynotes.com Gursharan Singh Tatla Page 5 of 6

Sr. No. Mnemonics, Operand Opcode Bytes


184. POP PSW F1 1
185. PUSH B C5 1
186. PUSH D D5 1
187. PUSH H E5 1
188. PUSH PSW F5 1
189. RAL 17 1
190. RAR 1F 1
191. RC D8 1
192. RET C9 1
193. RIM 20 1
194. RLC 07 1
195. RM F8 1
196. RNC D0 1
197. RNZ C0 1
198. RP F0 1
199. RPE E8 1
200. RPO E0 1
201. RRC 0F 1
202. RST 0 C7 1
203. RST 1 CF 1
204. RST 2 D7 1
205. RST 3 DF 1
206. RST 4 E7 1
207. RST 5 EF 1
208. RST 6 F7 1
209. RST 7 FF 1
210. RZ C8 1
211. SBB A 9F 1
212. SBB B 98 1
213. SBB C 99 1
214. SBB D 9A 1
215. SBB E 9B 1
216. SBB H 9C 1
217. SBB L 9D 1
218. SBB M 9E 1
219. SBI Data DE 2
220. SHLD Address 22 3
221. SIM 30 1
222. SPHL F9 1
223. STA Address 32 3
224. STAX B 02 1
225. STAX D 12 1
226. STC 37 1
227. SUB A 97 1
228. SUB B 90 1
229. SUB C 91 1
230. SUB D 92 1
www.eazynotes.com Gursharan Singh Tatla Page 6 of 6

Sr. No. Mnemonics, Operand Opcode Bytes


231. SUB E 93 1
232. SUB H 94 1
233. SUB L 95 1
234. SUB M 96 1
235. SUI Data D6 2
236. XCHG EB 1
237. XRA A AF 1
238. XRA B A8 1
239. XRA C A9 1
240. XRA D AA 1
241. XRA E AB 1
242. XRA H AC 1
243. XRA L AD 1
244. XRA M AE 1
245. XRI Data EE 2
246. XTHL E3 1

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy