mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-18 16:25:05 +08:00
16 lines
204 B
NASM
16 lines
204 B
NASM
|
cpu 8086
|
||
|
org 0
|
||
|
|
||
|
; MOV r/m16,imm16
|
||
|
; (imm16 given as number)
|
||
|
mov word [bx], 10h
|
||
|
|
||
|
; MOV r/m16,imm16
|
||
|
; (imm16 given as label)
|
||
|
mov word [bx], label
|
||
|
|
||
|
align 10h
|
||
|
|
||
|
; This label is at address 10h
|
||
|
label:
|