This shows you the differences between two versions of the page.
|
iocla:cursuri:capitol-01 [2019/09/20 12:08] 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> | ||
| - | Onedrive1: | ||
| - | |||
| - | <iframe src="https://ctipub-my.sharepoint.com/personal/dragos_niculescu_upb_ro/_layouts/15/Doc.aspx?sourcedoc={5c5656e8-3d8b-4f8d-9b4a-bf1575af45d8}&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> | ||
| - | |||
| - | </iframe> | ||
| - | </html> | ||
| - | |||
| - | <html> | ||
| - | Onedrive2: | ||
| - | | ||
| - | <iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[https://ctipub-my.sharepoint.com/:p:/g/personal/dragos_niculescu_upb_ro/EehWVlyLPY1Pm0q_FXWvRdgBsCBx_W-wlvLLtqalDBTv7A]' width='100%' height='600px' frameborder='0'> | ||
| - | </iframe> | ||
| - | </html> | ||
| - | |||
| - | | ||
| - | Link onedrive: [[https://ctipub-my.sharepoint.com/:p:/g/personal/dragos_niculescu_upb_ro/EehWVlyLPY1Pm0q_FXWvRdgBsCBx_W-wlvLLtqalDBTv7A| Curs 00]] | ||
| - | |||
| - | * [[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 ; } | ||
| - | |||
| - | |||
| - | |||
| - | |||