mirror of
https://github.com/wfjm/w11.git
synced 2026-05-04 15:16:59 +00:00
- C++ and Tcl based backend server: many support classes for interfacing to w11 system designs, and the associated Tcl bindings. - add 'asm-11', a simple, Macro-11 syntax subset combatible, assembler. - use now doxygen 1.8.3.1, generate c++,tcl, and vhdl source docs
46 lines
887 B
Plaintext
46 lines
887 B
Plaintext
; $Id: testerr_0120_Terror_const.mac 501 2013-03-30 13:53:39Z mueller $
|
|
;
|
|
; test T error code (Truncation)
|
|
; truncation of too large constants
|
|
;
|
|
.asect
|
|
.blkw 400
|
|
|
|
; octal, implicit
|
|
|
|
.word 123456
|
|
.word 177777
|
|
.word 1234567 ;;!! T
|
|
|
|
; octal, explicit ^o
|
|
|
|
.word ^o123456
|
|
.word ^o177777
|
|
.word ^o1234567 ;;!! T
|
|
|
|
; decimal, implicit trailing .
|
|
|
|
.word 65535.
|
|
.word 65536. ;;!! T
|
|
.word 65537. ;;!! T
|
|
|
|
; decimal, explicit ^d
|
|
|
|
.word ^d65535
|
|
.word ^d65536 ;;!! T
|
|
.word ^d65537 ;;!! T
|
|
|
|
; binary
|
|
|
|
.word ^b111111111111111
|
|
.word ^b1111111111111111
|
|
.word ^b11111111111111111 ;;!!T
|
|
|
|
; hex
|
|
|
|
.word ^xfff
|
|
.word ^xffff
|
|
.word ^x1ffff ;;!! T
|
|
|
|
.end
|