This shows you the differences between two versions of the page.
iocla:cursuri:curs-05 [2019/09/24 11:18] cristian.vijelie |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Curs 06 - 07: Setul de instructiuni x86 ====== | ||
- | |||
- | <html> | ||
- | <iframe src="https://ctipub-my.sharepoint.com/personal/dragos_niculescu_upb_ro/_layouts/15/Doc.aspx?sourcedoc={6b00d02d-977a-4904-84d5-7a10df0ed49c}&action=embedview&wdAr=1.3333333333333333" width="722px" height="565px" frameborder="0">This is an embedded <a target="_blank" href="https://office.com">Microsoft Office</a> presentation, powered by <a target="_blank" href="https://office.com/webapps">Office</a>.</iframe> | ||
- | </html> | ||
- | |||
- | * [[https://ctipub-my.sharepoint.com/:p:/g/personal/dragos_niculescu_upb_ro/ES3QAGt6lwRJhNV6EN8O1JwBJBdYEabZuA4sU-1NMQGy4w?e=Qo5u3X|Curs 06 - 07: Setul de instructiuni x86]] | ||
- | |||
- | |||
- | * 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> | ||
- | git clone https://github.com/iocla/curs-01-demo.git | ||
- | </code> și accesăm directorul rezultat în urma decomprimării<code bash> | ||
- | cd curs-01-demo/; make | ||
- | </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 | ||