fork download
  1. RCC->CR |= RCC_CR_HSEON;
  2. 80001f6: 4b24 ldr r3, [pc, #144] ; (8000288 <clock_init+0x94>)
  3. 80001f8: 681a ldr r2, [r3, #0]
  4. 80001fa: f442 3280 orr.w r2, r2, #65536 ; 0x10000
  5. 80001fe: 601a str r2, [r3, #0]
  6. while( !(RCC->CR & RCC_CR_HSERDY) ){}
  7. 8000200: 681a ldr r2, [r3, #0]
  8. 8000202: 0391 lsls r1, r2, #14
  9. 8000204: d5fc bpl.n 8000200 <clock_init+0xc>
  10.  
  11. FLASH->ACR &= ~FLASH_ACR_LATENCY;
  12. 8000206: 4a21 ldr r2, [pc, #132] ; (800028c <clock_init+0x98>)
  13. 8000208: 6811 ldr r1, [r2, #0]
  14. 800020a: f021 0107 bic.w r1, r1, #7
  15. 800020e: 6011 str r1, [r2, #0]
  16. FLASH->ACR |= FLASH_ACR_LATENCY_0;
  17. 8000210: 6811 ldr r1, [r2, #0]
  18. 8000212: f041 0101 orr.w r1, r1, #1
  19. 8000216: 6011 str r1, [r2, #0]
  20. FLASH->ACR |= FLASH_ACR_PRFTBE;
  21. 8000218: 6811 ldr r1, [r2, #0]
  22. 800021a: f041 0110 orr.w r1, r1, #16
  23. 800021e: 6011 str r1, [r2, #0]
  24.  
  25. RCC->CFGR |= RCC_CFGR_PLLSRC;
  26. 8000220: 685a ldr r2, [r3, #4]
  27. 8000222: f442 3280 orr.w r2, r2, #65536 ; 0x10000
  28. 8000226: 605a str r2, [r3, #4]
  29. RCC->CFGR |= RCC_CFGR_PLLMULL6;
  30. 8000228: 685a ldr r2, [r3, #4]
  31. 800022a: f442 1280 orr.w r2, r2, #1048576 ; 0x100000
  32. 800022e: 605a str r2, [r3, #4]
  33.  
  34. RCC->CFGR |= RCC_CFGR_PPRE1_DIV2;
  35. 8000230: 685a ldr r2, [r3, #4]
  36. 8000232: f442 6280 orr.w r2, r2, #1024 ; 0x400
  37. 8000236: 605a str r2, [r3, #4]
  38.  
  39. RCC->CR |= RCC_CR_PLLON;
  40. 8000238: 681a ldr r2, [r3, #0]
  41. 800023a: f042 7280 orr.w r2, r2, #16777216 ; 0x1000000
  42. 800023e: 601a str r2, [r3, #0]
  43. while( !(RCC->CR & RCC_CR_PLLRDY) ){}
  44. 8000240: 681a ldr r2, [r3, #0]
  45. 8000242: 0192 lsls r2, r2, #6
  46. 8000244: d5fc bpl.n 8000240 <clock_init+0x4c>
  47.  
  48. RCC->CFGR |= RCC_CFGR_SW_PLL;
  49. 8000246: 685a ldr r2, [r3, #4]
  50. 8000248: f042 0202 orr.w r2, r2, #2
  51. 800024c: 605a str r2, [r3, #4]
  52. while( (RCC->CFGR & (uint32_t)RCC_CFGR_SWS) != (uint32_t)0x08 ){}
  53. 800024e: 685a ldr r2, [r3, #4]
  54. 8000250: f002 020c and.w r2, r2, #12
  55. 8000254: 2a08 cmp r2, #8
  56. 8000256: d1fa bne.n 800024e <clock_init+0x5a>
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.s: Assembler messages:
prog.s: Warning: end of file not at end of a line; newline inserted
prog.s:1: Error: invalid character '>' in mnemonic
prog.s:2: Error: junk at end of line, first unrecognized character is `8'
prog.s:3: Error: junk at end of line, first unrecognized character is `8'
prog.s:4: Error: junk at end of line, first unrecognized character is `8'
prog.s:5: Error: junk at end of line, first unrecognized character is `8'
prog.s:6: Error: invalid character '(' in mnemonic
prog.s:7: Error: junk at end of line, first unrecognized character is `6'
prog.s:8: Error: junk at end of line, first unrecognized character is `0'
prog.s:9: Error: no such instruction: `d5fc bpl.n 8000200<clock_init+0xc>'
prog.s:11: Error: invalid character '>' in mnemonic
prog.s:12: Error: junk at end of line, first unrecognized character is `4'
prog.s:13: Error: junk at end of line, first unrecognized character is `6'
prog.s:14: Error: junk at end of line, first unrecognized character is `8'
prog.s:15: Error: junk at end of line, first unrecognized character is `8'
prog.s:16: Error: invalid character '>' in mnemonic
prog.s:17: Error: junk at end of line, first unrecognized character is `6'
prog.s:18: Error: no such instruction: `f041 0101 orr.w r1,r1,'
prog.s:19: Error: junk at end of line, first unrecognized character is `6'
prog.s:20: Error: invalid character '>' in mnemonic
prog.s:21: Error: junk at end of line, first unrecognized character is `6'
prog.s:22: Error: junk at end of line, first unrecognized character is `8'
prog.s:23: Error: junk at end of line, first unrecognized character is `8'
prog.s:25: Error: invalid character '>' in mnemonic
prog.s:26: Error: junk at end of line, first unrecognized character is `6'
prog.s:27: Error: no such instruction: `f442 3280 orr.w r2,r2,'
prog.s:28: Error: junk at end of line, first unrecognized character is `6'
prog.s:29: Error: invalid character '>' in mnemonic
prog.s:30: Error: junk at end of line, first unrecognized character is `6'
prog.s:31: Error: junk at end of line, first unrecognized character is `8'
prog.s:32: Error: junk at end of line, first unrecognized character is `8'
prog.s:34: Error: invalid character '>' in mnemonic
prog.s:35: Error: junk at end of line, first unrecognized character is `6'
prog.s:36: Error: no such instruction: `f442 6280 orr.w r2,r2,'
prog.s:37: Error: junk at end of line, first unrecognized character is `6'
prog.s:39: Error: invalid character '>' in mnemonic
prog.s:40: Error: junk at end of line, first unrecognized character is `6'
prog.s:41: Error: junk at end of line, first unrecognized character is `8'
prog.s:42: Error: junk at end of line, first unrecognized character is `8'
prog.s:43: Error: invalid character '(' in mnemonic
prog.s:44: Error: junk at end of line, first unrecognized character is `6'
prog.s:45: Error: junk at end of line, first unrecognized character is `0'
prog.s:46: Error: no such instruction: `d5fc bpl.n 8000240<clock_init+0x4c>'
prog.s:48: Error: invalid character '>' in mnemonic
prog.s:49: Error: junk at end of line, first unrecognized character is `6'
prog.s:50: Error: no such instruction: `f042 0202 orr.w r2,r2,'
prog.s:51: Error: junk at end of line, first unrecognized character is `8'
prog.s:52: Error: invalid character '(' in mnemonic
prog.s:53: Error: junk at end of line, first unrecognized character is `8'
prog.s:54: Error: no such instruction: `f002 020c and.w r2,r2,'
prog.s:55: Error: junk at end of line, first unrecognized character is `2'
prog.s:56: Error: no such instruction: `d1fa bne.n 800024e<clock_init+0x5a>'
stdout
Standard output is empty