OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [asm-11/] [tests-err/] [testerr_0120_Terror_const.mac] - Rev 40

Go to most recent revision | Compare with Previous | Blame | View Log

; $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

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.