This shows you the differences between two versions of the page.
iocla:cursuri:capitol-01 [2017/10/22 15:30] razvan.deaconescu |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Capitol 01: Introducere ====== | ||
- | |||
- | <html> | ||
- | <iframe src="https://docs.google.com/viewer?url=http://elf.cs.pub.ro/asm/res/cursuri/capitol-01/IOCLA - Capitol 01 - Introducere.pdf&embedded=true" width="600" height="480" style="border: none;"> | ||
- | </iframe> | ||
- | </html> | ||
- | |||
- | * [[http://elf.cs.pub.ro/asm/res/cursuri/capitol-01/IOCLA - Capitol 01 - Introducere.pdf|Capitol 01: Introducere (PDF)]] | ||
- | * [[http://elf.cs.pub.ro/asm/res/cursuri/capitol-01/IOCLA - Capitol 01 - Introducere - 3on1 notes.pdf|Capitol 01: Introducere (handout: 3on1 notes)]] | ||
- | * [[http://elf.cs.pub.ro/asm/res/cursuri/capitol-01/IOCLA - Capitol 01 - Introducere - 6on1.pdf|Capitol 01: Introducere (handout: 6on1)]] | ||
- | |||
- | * Suport curs | ||
- | * Sivarama P. Dandamudi: Introduction to Assembly Language Programming | ||
- | * Chapter 1: Introduction | ||
- | |||
- | |||
- | |||
- | ===== Demo-uri ===== | ||
- | |||
- | Pentru parcurgerea demo-urilor, folosim [[http://elf.cs.pub.ro/asm/res/cursuri/capitol-01/capitol-01-demo.zip|arhiva aferentă]]. Demo-urile rulează pe Linux. Descărcăm arhiva folosind comanda<code bash> | ||
- | wget http://elf.cs.pub.ro/iocla/res/cursuri/capitol-01-demo.zip | ||
- | </code> și apoi decomprimăm arhiva<code bash> | ||
- | unzip capitol-01-demo.zip | ||
- | </code> și accesăm directorul rezultat în urma decomprimării<code bash> | ||
- | cd capitol-01-demo/ | ||
- | </code> | ||
- | |||
- | Acum putem parcurge secțiunile cu demo-uri de mai jos. | ||
- | |||
- | ==== Demo 1 ==== | ||
- | |||
- | hello.asm | ||
- | |||
- | Schelet simplu pentru a demostra live endianess, adunări în C2, așezarea datelor în memorie. | ||
- | |||
- | |||
- | ==== Demo 2 ==== | ||
- | |||
- | inline.c | ||
- | |||
- | |||
- | ==== Demo 2 ==== | ||
- | |||
- | asm.out vs c.out pentru 1000 de iterații | ||
- | |||
- | time { echo 1000 | ./asm.out ; } | ||
- | time { echo 1000 | ./c.out ; } | ||
- | |||
- | |||
- | |||
- | |||