Files
x86-bare-metal-examples/bios_putc.S

11 lines
188 B
ArmAsm
Raw Permalink Normal View History

2018-12-04 09:46:27 +00:00
/* https://github.com/cirosantilli/x86-bare-metal-examples#bios-examples */
#include "common.h"
BEGIN
/* 40 == ASCII for '@'
* 0E == BIOS function ID.
*/
2015-09-18 11:35:08 +02:00
mov $0x0E40, %ax
2015-09-06 16:17:39 +02:00
int $0x10
hlt