This includes both separate .md files, and documentation that was on the head of the .S source files. Retest everything as this was done, and fix a few easy things.
26 lines
325 B
ArmAsm
26 lines
325 B
ArmAsm
#include "common.h"
|
|
BEGIN
|
|
CLEAR
|
|
|
|
mov %cs, %ax
|
|
PRINT_HEX <%al>
|
|
PRINT_NEWLINE
|
|
|
|
/* CS = 1 */
|
|
ljmp $1, $1f
|
|
1:
|
|
.skip 0x10
|
|
mov %cs, %ax
|
|
PRINT_HEX <%al>
|
|
PRINT_NEWLINE
|
|
|
|
/* CS = 2 */
|
|
ljmp $2, $1f
|
|
1:
|
|
.skip 0x20
|
|
mov %cs, %ax
|
|
PRINT_HEX <%al>
|
|
PRINT_NEWLINE
|
|
|
|
hlt
|