
Note: Do not try to attempt to write registers values on the screen using ASM for now, try something easier like hello world program that asks for a keyboard input, and then it will echo back with the string


Regards
inflater
Hello world is the easiest thing in the world and works perfectly.inflater wrote:Well how it is goin', Zacariaz? Did the helloworld example compiled successfully?
Note: Do not try to attempt to write registers values on the screen using ASM for now, try something easier like hello world program that asks for a keyboard input, and then it will echo back with the stringIf you need help, just ask
Regards
inflater
...and DX should hold the remainderyes, and bx should hold the remainder right? = 0;
Code: Select all
BITS 16
start:
mov ax, 07C0h ; Set up 4K stack space after this bootloader
add ax, 512
mov ss, ax
mov sp, 4096
mov ax, 07C0h ; Set data segment to where we're loaded
mov ds, ax
Code: Select all
BITS 16
start:
mov ax, 07C0h ; Set data segment to where we're loaded
mov ds, ax
add ax, 512 ; Set up 4K stack space after this bootloader
mov ss, ax
mov sp, 4096