write an assembly language program to determine


Write an assembly language program to determine one's complement and two's complement of an 8-bit number.

Ans

One's complement of an 8-bit number

LDA 2501H

CMA

STA 2502H

 HLT.

Two's complement of an 8-bit number

LDA 2501H

CMA

INR A

STA 2502H

HLT.

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: write an assembly language program to determine
Reference No:- TGS0288655

Expected delivery within 24 Hours