Advertisement
Guest User

Untitled

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