Write a program that will store the contents of an accumulator and flag register at locations 2000h and 2001h.
Answer / Aashish Kumar
The following assembly code writes the contents of the Accumulator (AL) and Flag Register (AF) into memory locations 2000h and 2001h respectively:nnmov al, <some value> ; store data in accumulatornnmov ah, al ; copy AL to AH for CF flagnsbb al, al ; set carry flag based on AL valuensahf ; transfer AF register content to AHnmov word ptr 2000h, ax ; store the combined AX to memory location 2000h
| Is This Answer Correct ? | 0 Yes | 0 No |
what are the differences between isolated i/o and memory mapped i/o
What are the different types of arithmetic operations that can be performed by the 8085 microprocessor?
What is general purpose registers in 8086?
Discuss pc and sp?
The interrupt response time is determined by?
explain the trap input for the 8085.
Which is the stack used in 8085?
What are the main differences between the 8085 and 8086 microprocessor?
how to know weather the controller is 16 bit or 32 bit?
explain the different types of control flags for the 8086?
7. What are tri-state devices and why they are essential in a bus oriented system?
5 Answers Electrical Tech, ISRO, Satyam, Wipro,
What are set up time & hold time constraints What do they signify Which one is critical for estimating maximum clock frequency of a circuit?