URL
https://opencores.org/ocsvn/w11/w11/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 19 |
Rev 24 |
; $Id: testerr_0010_undef_label.mac 501 2013-03-30 13:53:39Z mueller $
|
; $Id: testerr_0010_undef_label.mac 501 2013-03-30 13:53:39Z mueller $
|
;
|
;
|
; test undefined label response
|
; test undefined label response
|
;
|
;
|
.asect
|
.asect
|
|
|
; for normal labels
|
; for normal labels
|
|
|
zero: .word zero
|
zero: .word zero
|
.word one ;;!! U
|
.word one ;;!! U
|
.word two ;;!! U
|
.word two ;;!! U
|
|
|
; for local labels (in scope)
|
; for local labels (in scope)
|
|
|
blk1: .word 0
|
blk1: .word 0
|
1$: .word blk1
|
1$: .word blk1
|
.word 1$
|
.word 1$
|
.word 2$ ;;!! U
|
.word 2$ ;;!! U
|
|
|
; for local labels (out-of-scope)
|
; for local labels (out-of-scope)
|
|
|
blk2: .word 0
|
blk2: .word 0
|
2$: .word 1$ ;;!! U
|
2$: .word 1$ ;;!! U
|
.word 2$
|
.word 2$
|
|
|
.end
|
.end
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.