Microprocessor Architecture
Microprocessor Architecture
Mnemonics
opcode
XRA A
0001 MVI A
0002
0003 STA
0004
0005
0006 HLT
7001 32
7002 STA 8000H 22 Copy the content at
7003 00
7004 80
7005 HLT 76 Terminate the program
Address
the data byte 32H in memory location 8000H
7000 LHLD 8000H 2A Get the content in HL register pair from the memory location 8000H & 8001H
7001 XCHG 00
7002 LHLD 8002H 80
7003 EB Swap the contents with HL register and DE register
7004 2A Get the content in HL register pair from the memory location 8002H & 8003H
7005 02
7006 80
7007 MOV A,E 7B Move the data from E register to the accumulator
7008 ADD L 85 Add the L register with accumulator
7009 MOV L, A 6F Store the value in L register from the accumulator
700A MOV A,D 7A Move the data from D register to the accumulator
700B ADC H 8C Add the carry the H register with accumulator
700C MOV H,A 67 Store the value in H register from the accumulator
700D SHLD 8004H 22 Store the HL register pair in memory location 8004H and 8005H
700E 04
700F 80
7010 HLT 76 Terminate the program
location 8000H & 8001H
7000 LHLD 8000H 2A Get the content in HL register from memory location 8000H and 8001H
7001 00
7002 80
7003 XCHG EB Swap the contents of HL register & DE register
7004 LHLD 8002H 2A Get the content in HL register from memory location 8020H and 8003H
7005 02
7006 80
7007 MOV A,E 7B Move the content of E register into accumulator
7008 SUB L 95 Subtract the contents of L register from the accumulator
7009 MOV L,A 6F Store the value in L register
700A MOV A,D 7A Move the content of D register into accumulator
700B SBB H 9C Subtract with borrow the contents of H register from accumulator
700C MOV H,A 67 Store the value in L register
700D SHLD 8004H 22 Store HL register in memory location 8004H & 8005H
700E 04
700F 80
7010 HLT 76 Terminate the program
8000H and 8001H
accumulator
1a
ource memory.
destination memory
xt Source destination
xt Source destination
7000 LHLD 8000H 2A Get the content in HL register pair from memory location 8000H & 8001H
7001 00
7002 80
7003 XCHG EB Swap the contents with HL register & DE register
7004 LHLD 8002H 2A Get the content in HL register pair from memory location 8002H & 8003H
7005 02
7006 80
7007 MOV A, E 7B Move the data from E register to accumutor
7008 ADD L 85 Add the L register with accumulator
7009 MOV L, A 6F Store the value in L register from accumultor
700A MOV A, D 7A Move the data from D register to accumutor
700B ADC H 8C Add with carry the H register with accumulator
700C MOV H, A 67 Store the value in H register from accumultor
700D SHLD 8004H 22 Store the HL register in memory location 8004H & 8005H
700E 04
700F 80
7010 HLT 76 Terminate the program
2c
location 8300H
3c
n fibonacci number
7e
string to be inserted
8b
Mohamm
ed Aatif
Altaf
3 Ambedkar 4
Harsh
Chetan
5 Avadhan 3
Atharva
6 Chavan 3
Sheetal
14 Chauhan 4
Himanshu
Chaurasiy
15 a 2
ROHAN
16 CHAVAN 3
Nayama
Premchan
17 d das 3
Pratham
19 dubey 3
Aniket
Mahesh
22 Gupta 2
10:00 AM