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] - Blame information for rev 31

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

Line No. Rev Author Line
1 19 wfjm
; $Id: testerr_0120_Terror_const.mac 501 2013-03-30 13:53:39Z mueller $
2
;
3
; test T error code (Truncation)
4
; truncation of too large constants
5
;
6
        .asect
7
        .blkw   400
8
 
9
; octal, implicit
10
 
11
        .word   123456
12
        .word   177777
13
        .word   1234567         ;;!! T
14
 
15
; octal, explicit ^o
16
 
17
        .word   ^o123456
18
        .word   ^o177777
19
        .word   ^o1234567       ;;!! T
20
 
21
; decimal, implicit trailing .
22
 
23
        .word   65535.
24
        .word   65536.          ;;!! T
25
        .word   65537.          ;;!! T
26
 
27
; decimal, explicit ^d
28
 
29
        .word   ^d65535
30
        .word   ^d65536         ;;!! T
31
        .word   ^d65537         ;;!! T
32
 
33
; binary
34
 
35
        .word   ^b111111111111111
36
        .word   ^b1111111111111111
37
        .word   ^b11111111111111111  ;;!!T
38
 
39
; hex
40
 
41
        .word   ^xfff
42
        .word   ^xffff
43
        .word   ^x1ffff         ;;!! T
44
 
45
        .end

powered by: WebSVN 2.1.0

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