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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [asm-11/] [tests/] [test_0050_iword.mac] - Blame information for rev 24

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 wfjm
; $Id: test_0050_iword.mac 502 2013-04-02 19:29:30Z mueller $
2
;
3
; test implicit .word
4
;   when a statement does not start with pst symbol (opcode or directive)
5
;   assume an implicit .word
6
;
7
        .asect
8
        .blkw   400
9
 
10
        100                     ;;!! 000100
11
        200                     ;;!! 000200
12
        110,120                 ;;!! 000110 000120
13
        100,                    ;;!! 000100 000000
14
        ,200                    ;;!! 000000 000200
15
        ,                       ;;!! 000000 000000
16
 
17
w1:     1000                    ;;!! 001000
18
w2:     2000,2001,2002          ;;!! 002000 002001 002002
19
 
20
        const = 10              ;;!! 000010
21
        const                   ;;!! 000010
22
                         ;;!! 000010
23
        2*const                 ;;!! 000020
24
        <3*const>               ;;!! 000030
25
 
26
        .even
27
        .end

powered by: WebSVN 2.1.0

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