summaryrefslogtreecommitdiff
path: root/test/br2003451.asm
blob: 74e32345e9b4ba8859b666c36fe34bf1eb1c8b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;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: