This shows you the differences between two versions of the page.
iocla:cursuri:capitol-06 [2016/11/30 23:55] razvan.deaconescu [Capitol 06: Setul de instrucțiuni] |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Capitol 06: Setul de instrucțiuni ====== | ||
- | |||
- | <html> | ||
- | <iframe src="http://docs.google.com/viewer?url=http://elf.cs.pub.ro/asm/res/cursuri/IOCLA - Capitol 06 - Setul de instructiuni.pdf&embedded=true" width="600" height="480" style="border: none;"> | ||
- | </iframe> | ||
- | </html> | ||
- | |||
- | * [[http://elf.cs.pub.ro/asm/res/cursuri/capitol-06/IOCLA - Capitol 06 - Setul de instructiuni.pdf|Capitol 06: Arhitectura x86 (PDF)]] | ||
- | * [[http://elf.cs.pub.ro/asm/res/cursuri/capitol-06/IOCLA - Capitol 06 - Setul de instructiuni - 3on1 notes.pdf|Capitol 06: Setul de instructiuni (handout: 3on1 notes)]] | ||
- | * [[http://elf.cs.pub.ro/asm/res/cursuri/capitol-06/IOCLA - Capitol 06 - Setul de instructiuni - 6on1.pdf|Capitol 06: Setul de instructiuni (handout: 6on1)]] | ||
- | |||
- | * Suport curs | ||
- | * Sivarama P. Dandamudi: Introduction to Assembly Language Programming | ||
- | * Chapter 4: Overview of Assembly Language (4.5) | ||
- | * Chapter 7: Arithmetic Flags and Instructions | ||
- | * Chapter 8: Selection and Iteration | ||
- | * Chapter 9: Logical and Bit Operations | ||
- | |||
- | ===== Demo-uri ===== | ||
- | |||
- | Pentru parcurgerea demo-urilor, folosim [[http://elf.cs.pub.ro/asm/res/cursuri/capitol-06/capitol-06-demo.zip|arhiva aferentă]]. Demo-urile rulează pe Windows. Descărcăm arhiva folosind comanda<code bash> | ||
- | wget http://elf.cs.pub.ro/iocla/res/cursuri/capitol-06/capitol-06-demo.zip | ||
- | </code> și apoi decomprimăm arhiva<code bash> | ||
- | unzip capitol-06-demo.zip | ||
- | </code> și accesăm directorul rezultat în urma decomprimării<code bash> | ||
- | cd capitol-06-demo/ | ||
- | make | ||
- | </code> | ||
- | |||
- | Acum putem parcurge secțiunile cu demo-uri de mai jos. | ||
- | |||
- | ==== Demo ==== | ||
- | |||
- | * binarul getput exemplifică funcțiile PutInt8 și GetInt8. Se folosesc macrourile io.mac și biblioteca io.o care vin cu cartea S. Dandamudi. | ||
- | * Programul ijump.asm este cel din carte, produce binarul ijump. | ||
- | * Există și o variantă ijump.sasm.asm care are macrourile înlocuite cu cele de SASM și poate fi rulat în mediul SASM. | ||