CPSC 481 Chapter Notes -Gnu Debugger, Loopz, Gnu Compiler Collection

55 views3 pages

Document Summary

Rhide filename nasm -f coff filename (ending in . asm) gcc -c filename (ending in . c) gcc *. o gcc filename1 filename2 dir cd \folder1\folder2. Links all . o files in current folder into executable. Or register p/x, p/d, p/c, p/f as hex, signed int, char, Effect opens file in rhide c gdb filename break label opens filename in gdb sets breakpoint at label. Compiles c file into . o file clear label clears breakpoint at label x address x &var float examine address examine value of var. Ecx = ecx - 1, - jmp label if ecx != 0. Jmp label if ecx != 0 and zf = 1. Loope (loop if equal) loopnz same, but ends in loopne (loop if not equal) Asm command cmp dest, src loop label loopz label. Buffer1: resb 64 ; reserve 64 bytes for data. Wordvar: resw 1 ;a variable contained in 1 word. Res = reserve; b = byte; w = word; d = doubleword.

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