mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-27 09:29:06 +08:00
289ff7e2a8
Add test case for BR 2003451: forwardness leakage between operands.
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:
|