Presentation is loading. Please wait.

Presentation is loading. Please wait.

5. Assembly Language. Basics of AL Program data Pseudo-ops Array Program structures Data, stack, code segments.

Similar presentations


Presentation on theme: "5. Assembly Language. Basics of AL Program data Pseudo-ops Array Program structures Data, stack, code segments."— Presentation transcript:

1 5. Assembly Language

2 Basics of AL Program data Pseudo-ops Array Program structures Data, stack, code segments

3 Some instructions – MOV, XCHG ADD, SUB INC, DEC NEG I/O instructions INT – interrupt LEA SHIFT, ROTATE JUMP – JMP, Jxxx, etc. CMP Signed vs. unsigned jumps MUL, IMUL DIV, IDIV DUP

4 Conditional flow structure – If – then – If – then – else – Case AND, OR conditions Control flow structure – FOR loop – WHILE loop – REPEAT-UNTIL loop

5 Logic instructions – AND, OR, XOR, NOT – TEST Shift ins., Rotate ins. – Logical shift/rotate – Arithmetic shift/rotate Stack, Queue PUSH, POP

6 String data transfers [ch.11 [Marut], ch.4 [Brey]] LODS, STOS, MOVS, INS and OUTS Addressing modes

7 Interrupts Procedures & macro Virtual memory management Cache memory management Exception handler


Download ppt "5. Assembly Language. Basics of AL Program data Pseudo-ops Array Program structures Data, stack, code segments."

Similar presentations


Ads by Google