2021BCS0103
2021BCS0103
w th 2.8 H as ib data
MOV M,A
HLT
Logtcal AND OpUaen otth Tmmedatu Qota
MVI A, 30H
ANI 30H
HLT
Logical AND opatien oith memowy Locati en
LXI H 325 H
MOV A M
ANI 30H
Name-S.Vaishnavi Reddy
Roll no-2021BCS0103
1. To add three numbers using ALP of 8085 MP, using all the
processor's addressing modes (except implicit addressing
mode). Use the immediate data as 25 H & memory location
2624 H with 28H as its data (wherever necessary). Assume any
immediate data as the third operand for addition.
BEFORE EXECUTION
AFTER EXECUTION
2.To do logical AND & EXOR operations in different ways using
immediate data 30 H, memory location 3125H [71H].
AND OPERATION
1st Method
BEFORE EXECUTION
AFTER EXECUTION
2nd Method
BEFORE EXECUTION
AFTER EXECUTION
3rd Method
BEFORE EXECUTION
AFTER EXECUTION
EXOR
1st Method
BEFORE EXECUTION
AFTER EXECUTION
2nd Method
BEFORE EXECUTION
AFTER EXECUTION
3rd Method
BEFORE EXECUTION
AFTER EXECUTION
3. To do unconditional jumping after executing the ALP to do
OR operations between immediate data 15 H and data from
2050 H (12 H). Store the result of the program in 2125 H and
jump to that location.
BEFORE EXECUTION
AFTER EXECUTION
4. Send serial data through port address 05H after calculating
the addition of two numbers 12 H and 15 H and write the word
alignment for SIM instruction when interrupts are disabled.