Professional Documents
Culture Documents
2
Name: Sachin Dobhal
Section/Group: 613-B
UID: 20BCS2541
Subject: Microprocessor and Interfacing Lab
Branch: BE CSE (4th Semester)
Aim:
Complement of a number 16 bit data
Task to be done:
1. 1’s Complement of a number 8 bit data using Jubin Application.
# ORG C050
# DB 85H,54H
Result / Output / Writing Summary:
1’s Complement:
Code:
2’s Complement:
LXI H,C050
MVI B,00
MOV A,M
CMA
ADI 01
STA C052
JNC GO
INR B
GO: INX H
MOV A,M
CMA
STA C053
HLT
# ORG C050
# DB 8CH,5BH
Result / Output / Writing Summary:
Learning Outcomes:
1. Working of microprocessors.
2. Learn how to complement data in microprocessors.
3. Learn about 8085 simulator.
4. Operations of 8 bit numbers.
5. Learn about the different instructions that are needed to be given to the
memory to perform some tasks.