summaryrefslogtreecommitdiffhomepage
path: root/src/amd64/amd64-test.asm
blob: c71a191b64e3c5071c81a444b30a676aed0a5a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;; AMD64 NeBoot Sample program.
;; Written by Amlal El Mahrouss

[bits 16]
[org 0x7c00]

; --------------
; Main entrypoint, just loop.
; --------------
amd64_main:
    jmp $
    cli
    hlt

times 512-6-2-2-($-$$) nop

db "BOOT1", 0 ;; Payload
dw 0x0100 ;; Version 1
dw 0 ;; Binary Blob