Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

[GAS,8086] How to print values of registers?

Name: Anonymous 2009-11-03 6:56

Does anyone know how to do this?

.text
.globl main

main:
 movl $0x1,%eax
 movl $0x2,%ebx
 movl $0x3,%ecx
 movl $0x4,%edx
 # print eax
 # print ebx
 # print ecx
 # print edx
 ret


THANKS!

Name: Anonymous 2009-11-03 7:10

>>1
Uh, uncomment the prints?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List