yay asm!
no idea what use this has for me but I still feel great about myself for being able to understand what it says... I last used it 4 months ago
|
credits: PeeHPee (me), thiefmn6092 (told me about problems with jmp short)
oh, also, the C function would not be _main(void), it would be main(void)Code:[BITS 32] global _start, _stack extern _main SECTION .text _start: jmp _boot align 4 _boot: mov esp, _stack push dword 2 popf call _main SECTION .bss resb 512 _stack:
yay asm!
no idea what use this has for me but I still feel great about myself for being able to understand what it says... I last used it 4 months ago
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |