mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 18:46:43 +00:00
Updated Assembler directives (markdown)
parent
b82e445a3e
commit
cbb44ce427
@ -129,7 +129,7 @@ Sections are useful to organize your code.
|
||||
|
||||
There is currently two section, `.text` and `.data`. By default, the .data section implicitly starts at the beginning of your code and ends where the `.text` section starts, but you are allowed to reorder them as you wish. You must explicitly specify where the `.text` section starts.
|
||||
|
||||
At the beginning of each tick, your code is executed starting at the first instruction after the `.text` directive until it reaches the `BRK` instruction (See [Execution cycle](https://github.com/simon987/Much-Assembly-Required/wiki/CPU#execution-cycle).
|
||||
At the beginning of each tick, your code is executed starting at the first instruction after the `.text` directive until it reaches the `BRK` instruction (See [Execution cycle](https://github.com/simon987/Much-Assembly-Required/wiki/CPU#execution-cycle)).
|
||||
|
||||
Notes:
|
||||
* There is nothing stopping you from executing code in the `.data` section (or to store variables in the `.text` section)
|
||||
|
Loading…
x
Reference in New Issue
Block a user