nasm/test/br2003451.asm

18 lines
297 B
NASM
Raw Normal View History

;Testname=optimized; Arguments=-Ox -fbin -obr2003451.bin; Files=stdout stderr br2003451.bin
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: