This shows you the differences between two versions of the page.
iocla:cursuri:curs-05 [2018/10/29 16:41] dragos.niculescu [Demo-uri] |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Curs 05: Moduri de declarare și adresare ====== | ||
- | |||
- | <html> | ||
- | <iframe src="https://docs.google.com/viewer?url=http://elf.cs.pub.ro/asm/res/cursuri/IOCLA_curs_05_Declarare_Adresare.pdf&embedded=true" width="600" height="480" style="border: none;"> | ||
- | </iframe> | ||
- | </html> | ||
- | |||
- | * [[http://elf.cs.pub.ro/asm/res/cursuri/IOCLA_curs_05_Declarare_Adresare.pdf|Curs 05: Moduri de declarare și adresare (PDF)]] | ||
- | * [[http://elf.cs.pub.ro/asm/res/cursuri/IOCLA_curs_05_Declarare_Adresare-notes3on1.pdf|Curs 05: Moduri de declarare și adresare (handout: 3on1 notes)]] | ||
- | |||
- | |||
- | * Suport curs | ||
- | * Sivarama P. Dandamudi: Introduction to Assembly Language Programming | ||
- | * Chapter 4: Overview of Assembly Language (4.1-4.4, 4.6-4.8) | ||
- | * Chapter 6: Addressing Modes (6.1-6.3) | ||
- | |||
- | ===== Demo-uri ===== | ||
- | |||
- | Pentru parcurgerea demo-urilor, folosim [[http://elf.cs.pub.ro/asm/res/cursuri/curs-01-demo.zip|arhiva aferentă]] cursului 1. Demo-urile rulează pe Linux. Descărcăm arhiva folosind comanda<code bash> | ||
- | wget http://elf.cs.pub.ro/iocla/res/cursuri/curs-01-demo.zip | ||
- | </code> și apoi decomprimăm arhiva<code bash> | ||
- | unzip curs-01-demo.zip | ||
- | </code> și accesăm directorul rezultat în urma decomprimării<code bash> | ||
- | cd curs-01-demo/ | ||
- | </code> | ||
- | |||
- | ==== Demo ==== | ||
- | |||
- | Se folosește modulul hello.asm pentru a verifica live | ||
- | * valorile imediate rezultate din adresele unor variabile, sau ale unor constante declarate cu EQU | ||
- | * așezarea datelor în memorie | ||
- | * declararea diverselor lungimi și relația lor cu endianness | ||
- | * citirea datelor folosind diverse moduri de adresare | ||