This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / gas / testsuite / gas / tic80 / align.lst
1 MVP MP Macro Assembler Version 1.13 Thu Feb 27 17:02:23 1997
2 Copyright (c) 1993-1995 Texas Instruments Incorporated
3
4 align.s PAGE 1
5
6 1 ;; Test the .align directive.
7 2
8 3 00000000 .text
9 4
10 5 ;; This should generate 0xAB000000
11 6 00000000 AB .byte 0xAB
12 7 00000001 .align ; Should default to 4 byte alignment
13 8
14 9 ;; This should generate 0xCD00EF00
15 10 00000004 CD .byte 0xCD
16 11 .align 2 ; Should align to the next 2-byte boundary (pad with one null byt
17 12 00000006 EF .byte 0xEF
18 13 .align 1
19 14
20 15 ;; This should generate 0xF1000000
21 16 00000007 .align 4 ; Should not affect alignment (already on 4)
22 17 00000008 F1 .byte 0xF1
23 18 00000009 .align 4 ; Should align to next 4 byte boundary
24 19
25 20 ;; This should generate 0xEE000000 since we are already on 4 byte alignment
26 21 0000000C EE .byte 0xEE
27 22 0000000D .align 8
28 23
29 24 ;; This should generate 0xAC000000 0x00000000
30 25 00000010 AC .byte 0xAC
31 26 00000011 .align 8
32 27
33 28 ;; This should generate 0xAB000000 0x00000000 since we are at 8 byte alignment
34 29 00000018 AB .byte 0xAB
35 30 00000019 .align 16
36 31
37 32 ;; This should generate 0xFE000000 0x00000000 0x00000000 0x00000000
38 33 00000020 FE .byte 0xFE
39 34 00000021 .align 16
40 35
41 36 ;; This just forces the disassembler to not print ... for trailing nulls
42 37 00000030 DE .byte 0xDE, 0xAD, 0xBE, 0xEF
43 00000031 AD
44 00000032 BE
45 00000033 EF
46
47 No Errors, No Warnings
This page took 0.030403 seconds and 4 git commands to generate.