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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [tic54x/] [cons.s] - Blame information for rev 304

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

Line No. Rev Author Line
1 205 julius
*
2
* Constants initialization
3
* See also long.s, space.s, field.s
4
*
5
        .global binary, octal, hex, field
6
binary: .word   11b, 0100B
7
octal:  .word   011q, 12q, 013Q
8
hex:    .word   0Fh, 10H
9
field:  .field  3, 3
10
        .field  8, 6
11
        .field  16, 5
12
        .field  01234h,20
13
        .field  01234h,32
14
        .global byte, word, xlong, long, int
15
byte:   .byte   0AAh, 0BBh
16
word:   .word   0CCCh
17
xlong:  .xlong  0EEEEFFFh
18
long:   .long   0EEEEFFFFh
19
int:    .int    0DDDDh
20
        .global xfloat, float
21
xfloat: .xfloat 1.99999
22
float:  .float  1.99999
23
        .global string, pstring
24
string  .string "abcd"
25
        .string "abc","defg"
26
        .string 36 + 12
27
pstring .pstring "abcd"
28
        .pstring "abc","defg"
29
 
30
        .global DAT1, DAT2, DAT3, DAT4
31
DAT1:   .long 0ABCDh, 'A' + 100h, 'g', 'o'
32
xlong?: .xlong DAT1, 0AABBCCDDh
33
DAT2:   .word 0
34
DAT3:   .long 012345678h
35
        .word 0
36
        .xlong 0AABBCCDDh
37
DAT4:
38
        .end

powered by: WebSVN 2.1.0

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