! !Purpose: !This program tests if the assembler can handle !initializations of all three types of sections in pass 1, !including composing their section headers !and computing the sizes of their object codes. !It also tests creation of the symbol table during pass 1. !Description: !The .data .bss and .text sections are interlaced. .section ".data" label0: .ascii "hello\t", "cs217\n" label1: .asciz "assignment5\n" label2: .skip 1 label3: .section ".bss" label4: .skip 1 label5: .section ".text" label6: add %r1, %r2, %r3 label7: .section ".data" label8: .byte 1, 2, 3 label9: .align 2 label10: .half 4, 5 label11: .align 4 label12: .word 6 label13: .section ".bss" label14: .align 2 label15: .section ".text" label16: add %r1, %r2, %r3 label17: