CPSC 355 Lecture Notes - Lecture 5: Gnu Compiler Collection, Hypervisor, Call Stack

106 views4 pages

Document Summary

Cpsc 355 - lecture 5 - sept 21st. Unfortunately, gcc (actually as) has limited support for macros: we use m4 instead, before invoking gcc. Eg: add x19 define (coef, 23) define (z_r, x18) (is expanded to) > _r (register) z_r, coef add x19, x18, 23. General procedure: put your source code containing macros into a file ending in . asm, invoke m4, redirecting output to a file ending in . s. Eg: m4 myprog. asm > myprog. s: run gcc as usual on the output file. This course uses the applied micro x-gene x-ci servers: in cpu is the apm883208-x1 x-gene multi-core 64-bit processors. Is an implementation of the armv8-a specification, licensed from arm holdings, plc. Arml advanced risc machine (originally acorn risc m. : the installed operating system (os) is linux fedora 24. Includes up-to-date version of gcc, as, gdb, and m4: the 3 servers can be accessed remotely using ssh (secure shell) with these addresses:

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents