This shows you the differences between two versions of the page.
|
iocla:cursuri:capitol-01 [2019/09/18 12:00] dragos.niculescu |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Capitol 01: Introducere ====== | ||
| - | |||
| - | |||
| - | <html> | ||
| - | Google Drive: | ||
| - | <!--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> | ||
| - | |||
| - | |||
| - | <html> | ||
| - | Onedrive: | ||
| - | <iframe src="https://ctipub-my.sharepoint.com/:p:/g/personal/dragos_niculescu_upb_ro/ERofjK6iealBg2aJCw0A1FIBEBQulJxtsEjm287ln54RSQ" width="600" height="480" style="border: none;"> | ||
| - | </iframe> | ||
| - | </html> | ||
| - | | ||
| - | <iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[https://www.your_website/file_name.pptx]' width='100%' height='600px' frameborder='0'> | ||
| - | | ||
| - | |||
| - | * [[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 ; } | ||
| - | |||
| - | |||
| - | |||
| - | |||