Files
kern/asmSrc/testing/hello.asm
T
Tom-on 726247a4f2 Began moving to C. (No C yet)
If you want to build the assembly version, run the buildAsm.sh script
Currently just setting up the bootloader.
2024-01-02 14:40:32 +01:00

26 lines
324 B
NASM

[bits 16]
start:
mov ah, 0x0e
mov al, 'H'
int 0x10
mov al, 'e'
int 0x10
mov al, 'l'
int 0x10
int 0x10
mov al, 'o'
int 0x10
mov al, '!'
int 0x10
xor ax, ax
int 0x16
mov ax, 0x2000
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
jmp 0x2000:0x0000