01:198:211 Study Guide - Comprehensive Final Exam Guide - Science Fiction, Rana Sura Padakkama, Exclusive Or
Document Summary
On linux: gcc filename. c creates a. out (executable) gcc o desiredfilename filename. c creates desiredfilename. out (executable) gcc s filename. c creates filename. s (assembly) gcc c filename. c. C data types creates filename. o (object file) char one byte short int long float double long double unsigned char unsigned short unsigned int unsigned long. Intel assembly push and pop instructions pushw reg16 pushw mem16 pushw imm16 pushl reg32 pushl mem32 pushl imm32 pushq reg64 pushq mem64 pushq imm64 popw reg16 popw mem16 popl reg32 popl mem32 popq reg64 popq mem64 sal shl sar shr specify type by adding l, q, b, w. Intel assembly arithmetic inc dec neg not increment decrement negate flip bits specify type by adding l, q, b, w. 64 bit imul mem, reg64 imul reg16, reg64 imul reg32, reg64 imul reg64, reg64 imul imm8, reg64 imul imm16, reg64, imul imm32, reg64 imul imm64, reg64.