uleb128.s revision 1.1.1.1
1.data 2 .global bar 3 .balign 2 4bar: 5 .short 42 6 .short 43 7 8 .global foo 9foo: 10.skip 0xff 11 12 .global foo2 13 .balign 2 14foo2: 15 .short 4 16 17.text 18 19 .balign 2 20 .global byte 21byte: 22 .word foo-bar 23 .word foo2-bar 24 25 .global uleb 26 .balign 2 27uleb: 28 .uleb128 foo-bar ; this value can be stored in one byte 29 .uleb128 foo2-bar ; this value requires 2 bytes 30 31 .balign 2 32 .global _start 33 _start: 34 nop 35