start:
mov eax, 0x01
mov ebx, 0x02
mov ecx, 0x03
times 510-($-$$) db 0
db 0x55
db 0xAA
#!/bin/bash
nasm -f bin test20240827001.asm -o test20240827001.img
qemu-system-x86_64 -hda test20240827001.img -m 512
#!/bin/bash
$ sudo apt install qemu-utils qemu-system-x86 qemu-system-gui