60 likes | 183 Vues
This lecture by Muhammad Jafer delves into essential components of a computer and their interdependencies. It discusses the importance of memory models for processors, including concepts like memory reading, and introduces various instruction classes and addressing modes in assembly language, such as immediate, direct, and indirect modes. By examining practical examples, including operations like ADD with different address configurations, students will gain a comprehensive understanding of how computer architecture functions and the role of assembly language in programming.
E N D
Computer Organization & Assembly Language Lecture # 5 By Muhammad Jafer
Quiz • Minutes (10) • Total Marks (15) • What are the basic components of a computer & task perform by them ? • Are these basic components dependent on each, if yes then how and why ? • Why do we need a memory model for a processor ? • Name memory models for processor?
Memory reading concepts • Memory Data Register • Memory Address Register
INSTRUCTION CLASSES • Three Addresses • ADD A,B,C • Two Addresses • ADD A,B • One and Half Address • ADD X31,B • One Address • ADD B • Zero Address • ADD (SP)+,(SP)
Addressing modes • Immediate MODE • ADD #100,A • Direct (Absolute) MODE • ADD 1000,A • INDIRECT MODE • ADD (B),A • INDEX MODE • ADD X(B),A • OTHER MODES
Chapter Review • The x86 PC Assembly Language, Design & Interfacing by Muhammad Ali Mazidi, Janice GillispieMazidi & Danny Causey • Chapter # 1 • Inside The 8088/86