Interviewer And Interviewee Guide

Intel Microprocessor Interview Question:

Write a program in assembly language to find out one`s and two`s complement for an 8 bit number?

Submitted by: Administrator
- The program to find the one`s complement of an eight bit number is as follows:
LDA 2501H
CMA
STA 2502H
HLT
- The program to find the two`s complement is as follows:
LDA 2501H
CMA
INR A
STA 2502H
HLT
Submitted by: Administrator

Read Online Intel Microprocessor Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.