70 likes | 210 Views
Dive into the fundamentals of assembly language programming with this comprehensive guide. Learn about essential components such as data segments, pseudo-ops, and program structures. Explore key instructions including MOV, ADD, SUB, and I/O operations. Understand control flow structures like loops and conditional statements, along with logic instructions, stack manipulation, and data transfer techniques. This resource is invaluable for beginners looking to grasp the intricacies of assembly language and its applications in computing.
E N D
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 • MUL, IMUL • DIV, IDIV • DUP
Conditional flow structure • If – then • If – then – else • Case • AND, OR conditions • Control flow structure • FOR loop • WHILE loop • REPEAT-UNTIL loop
Logic instructions • AND, OR, XOR, NOT • TEST • Shift ins., Rotate ins. • Logical shift/rotate • Arithmetic shift/rotate • Stack, Queue • PUSH, POP
String data transfers [ch.11 [Marut], ch.4 [Brey]] • LODS, STOS, MOVS, INS and OUTS • Addressing modes
Interrupts • Procedures & macro • Virtual memory management • Cache memory management • Exception handler