Answer to Question #335450 in UNIX/Linux Programming for Secret Agent

Question #335450
  1. What is the Difference between MOV AH, 2 and MOV AH, 1
  2. What is the Purpose of "LEA" and MOV AH, 9
1
Expert's answer
2022-05-01T19:06:39-0400

1) The mov ah, 1 instruction is responsible for character-by-character input from the keyboard. In contrast, mov ah, 2 prints a single character to the screen.

2) The LEA (Load Effective Address) moves the contents of the designated memory location into the target register.

mov ah, 9 - instruction to display a string on the screen.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS