Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- blink.o: file format elf32-msp430
- blink.o
- architecture: msp430:430, flags 0x00000010:
- HAS_SYMS
- start address 0x00000000
- Sections:
- Idx Name Size VMA LMA File off Algn
- 0 .MSP430.attributes 00000017 00000000 00000000 00000034 2**0
- CONTENTS, READONLY
- 1 .text 00000034 00000000 00000000 0000004c 2**2
- CONTENTS, ALLOC, LOAD, READONLY, CODE
- 2 .note.GNU-stack 00000000 00000000 00000000 00000080 2**0
- CONTENTS, READONLY
- SYMBOL TABLE:
- 00000000 l df *ABS* 00000000 blink
- 00000000 l d .MSP430.attributes 00000000 .MSP430.attributes
- 00000000 l d .text 00000000 .text
- 00000000 g F .text 00000034 main
- **********************************************
- Disassembly of section .text: <- This is .text but in the C code, it's .init9
- **********************************************
- 00000000 <main>:
- main():
- 0: b2 40 80 5a mov #23168, &0x0120 ;#0x5a80
- 4: 20 01
- 6: d2 d3 22 00 bis.b #1, &0x0022 ;r3 As==01
- a: 5c 43 mov.b #1, r12 ;r3 As==01
- c: 5c d2 21 00 bis.b &0x0021,r12
- 10: c2 4c 21 00 mov.b r12, &0x0021
- 14: 4c 43 clr.b r12
- 16: 7c 90 64 00 cmp.b #100, r12 ;#0x0064
- 1a: 08 24 jz $+18 ;abs 0x2c
- 1c: 3d 40 00 01 mov #256, r13 ;#0x0100
- 20: 0d 93 tst r13
- 22: 02 24 jz $+6 ;abs 0x28
- 24: 3d 53 add #-1, r13 ;r3 As==11
- 26: fc 3f jmp $-6 ;abs 0x20
- 28: 5c 53 inc.b r12
- 2a: f5 3f jmp $-20 ;abs 0x16
- 2c: 5c 43 mov.b #1, r12 ;r3 As==01
- 2e: 5c e2 21 00 xor.b &0x0021,r12
- 32: ee 3f jmp $-34 ;abs 0x10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement