Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Experiment Title-4

Student Name: Shivam Garg UID:20BCS3215


Branch: CSE Section/Group:20BCS618-A
Semester: fourth DateofPerformance:29 March 2022
Subject Name: MICROPROCESSOR AND INTERFACING LAB
Subject Code: 22E-20CSP-253

1. Aim/Overview of the practical:

a) 1's complement of 8 bit number

b) 2's complement of 8 bit number

2. Apparatus/Simulator used: JUBIN

3. Description/ Code:

a)

1's complement of 8 bit number

LDA 2000

MOV B,A

CMA

STA 2001
HLT

#ORG2000

#DB 23H

b) 2's complement of 8 bit number

LDA 2000

MOV B,A

CMA

INR A

STA 2001

HLT

#ORG2000

#DB 23H

4. Result/Output/Writing Summary:
a)

b)
Evaluation Grid (To be created as per the SOP and Assessment guidelines by the faculty):

Sr. No. Parameters Marks Obtained Maximum Marks


1.
2.
3.

You might also like