1 / 7

5. Assembly Language

5. Assembly Language. Basics of AL Program data Pseudo-ops Array Program structures Data, stack, code segments. 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

ohio
Download Presentation

5. Assembly Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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

More Related