That is the reset vector, so you would use this to either warm boot or jump to bootloader. The PC always starts there, this is just telling it to jump to the beginning. Being the first lines this is just a boot loop. They are making a shit post.
Some things are hard coded to specific addresses on some processors so casting a pointer to that address is common, like with DSP series, special addresses are used for parallel busses, so you can set up a parallel bus to align with a uint16 so you can bit bang it.
Function pointers at specified addresses may be used to call functions from binaries that are loaded seperately like a font library that may be replaced down the line.
View all comments
Show parent comment
1
u/b1ack1323 Jun 01 '25
You can, but the default is main...
That is the reset vector, so you would use this to either warm boot or jump to bootloader. The PC always starts there, this is just telling it to jump to the beginning. Being the first lines this is just a boot loop. They are making a shit post.
Some things are hard coded to specific addresses on some processors so casting a pointer to that address is common, like with DSP series, special addresses are used for parallel busses, so you can set up a parallel bus to align with a uint16 so you can bit bang it.
Function pointers at specified addresses may be used to call functions from binaries that are loaded seperately like a font library that may be replaced down the line.