Lecture 25 Objectives
At the end of today's class you should
KNOW:
- how to use the data movement instruction (MOV) of the x86 instruction set
- how to specify the following addressing modes: immediate,
register, direct, indirect
- how to use the operate instructions, particularly ADD and SUB
- how to branch based on a comparison of two values (CMP and the conditional
jump instructions)
BE ABLE TO:
- translate a simple if-statement or loop to 8086 assembly language code
Sample Exam Question:
Assume AX contains an ASCII character in bits 0 - 7. Write a segment
of 8086 assembly language code that will check to see if the character in AX
is a digit character. If it is a digit character,
transfer control to a label called DIGIT. Otherwise, transfer control
to NOTaDIGIT.