OK, so iv'e written a simple program in asm which goes as follows
mov eax, 0x04 // the system call no
mov ebx, msg
msg db 'Hello World!^',0xa
so when i call this code the register ebx should have the value of 4 when int 47 is called. but when i print the value of the register to the console it prints 0.
// inside IRQ 47
So my question is where did my 4 go and why are the register values all 0