Files
x86-bare-metal-examples/test_print_bytes.S
2015-10-28 18:36:31 +01:00

18 lines
225 B
ArmAsm

/*
Test PRINT_BYTES
Expected output:
40 41 42 43 44 45 46 47
48 49 4A 4B 4C 4D 4E 4F
50
*/
#include "common.h"
BEGIN
CLEAR
PRINT_BYTES $s, $s_len
hlt
s: .ascii "@ABCDEFGHIJKLMNOP"
.equ s_len, . - s