This shows you the differences between two versions of the page.
iocla:cursuri:capitol-01 [2019/09/20 11:58] 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:/r/personal/dragos_niculescu_upb_ro/_layouts/15/Doc.aspx?sourcedoc=%7B5C5656E8-3D8B-4F8D-9B4A-BF1575AF45D8%7D&file=IOCLA%20curs%2000%20Intro.pptx&action=edit&mobileredirect=true" 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 ; } | ||
- | |||
- | |||
- | |||
- | |||