1
0
Fork 0
mirror of https://github.com/tailix/loadwarka.git synced 2024-11-11 13:50:54 -05:00
loadwarka/src/x86_stage2.S

56 lines
825 B
ArmAsm
Raw Normal View History

2022-01-26 15:19:39 -05:00
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
.code16
.global _start
.section .text
_start:
mov $0x0E, %ah
mov $'H', %al
int $0x10
mov $'e', %al
int $0x10
mov $'l', %al
int $0x10
mov $'l', %al
int $0x10
mov $'o', %al
int $0x10
mov $' ', %al
int $0x10
mov $'f', %al
int $0x10
mov $'r', %al
int $0x10
mov $'o', %al
int $0x10
mov $'m', %al
int $0x10
mov $' ', %al
int $0x10
mov $'S', %al
int $0x10
mov $'t', %al
int $0x10
mov $'a', %al
int $0x10
mov $'g', %al
int $0x10
mov $'e', %al
int $0x10
mov $' ', %al
int $0x10
mov $'2', %al
int $0x10
mov $'!', %al
int $0x10
mov $'\r', %al
int $0x10
mov $'\n', %al
int $0x10
_loop:
cli
hlt
jmp _loop