Skip to content

Commit 1ea75da

Browse files
committed
fix: assembly highlight
1 parent 0c89605 commit 1ea75da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_posts/2021-11-20-startup-stm32.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Imagine your STM32F103VE as a person waking up in the morning. Just like how we
1313

1414
### First Things First: Getting Oriented
1515

16-
```assembly
16+
```asm
1717
Stack_Size EQU 0x00000400 ; Like choosing how much space you need
1818
; 1KB of stack - your working space
1919
@@ -31,7 +31,7 @@ Just as you need to know where your things are when you wake up, the MCU needs t
3131

3232
## The Morning Checklist (Vector Table)
3333

34-
```assembly
34+
```asm
3535
AREA RESET, DATA, READONLY
3636
EXPORT __Vectors
3737
@@ -45,7 +45,7 @@ Think of this as your morning emergency contacts list - who to call when differe
4545

4646
## The Wake-up Routine (Reset_Handler)
4747

48-
```assembly
48+
```asm
4949
Reset_Handler PROC
5050
EXPORT Reset_Handler [WEAK]
5151
IMPORT __main
@@ -68,7 +68,7 @@ This is like your morning routine - get up (SystemInit), get ready, and start yo
6868
### Quick Start Mode
6969
For when you need to get going fast:
7070

71-
```assembly
71+
```asm
7272
; Like grabbing a quick breakfast
7373
Reset_Handler PROC
7474
CPSID I ; Do Not Disturb mode
@@ -82,7 +82,7 @@ Reset_Handler PROC
8282
### Safety Check Mode
8383
When you need extra security:
8484

85-
```assembly
85+
```asm
8686
; Like double-checking everything before leaving
8787
LDR R0, =SafetyCheck
8888
BLX R0

0 commit comments

Comments
 (0)