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-04 8:41

>>12
It isn't horseshit, it's a lot of static linking from mscvrt on Windows. On *nixes it produces particularly compact programs.

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