32bit asm problem
Posted: Thu Nov 14, 2002 12:00 am
i wanted to try my asm grfx code in [bits 32] insted of [bits 16].
the code works in 16 bit but not 32 bit could some one tell me why this code wont work
[bits 32]
start:
mov ah, 0
mov ax, 0x13
int 0x10
mov ah, 0x0c
mov al, 4
mov cx, 10
mov dx, 15
int 0x10
jmp halt
halt: jmp halt
i am using nasm to compile and gcc ld command to make a flat binary.
if anycould help me with this problem i would be gr8tfull.
regards leon pegg aka iota
the code works in 16 bit but not 32 bit could some one tell me why this code wont work
[bits 32]
start:
mov ah, 0
mov ax, 0x13
int 0x10
mov ah, 0x0c
mov al, 4
mov cx, 10
mov dx, 15
int 0x10
jmp halt
halt: jmp halt
i am using nasm to compile and gcc ld command to make a flat binary.
if anycould help me with this problem i would be gr8tfull.
regards leon pegg aka iota