documentation

This commit is contained in:
Michael Specht 2018-02-16 21:56:31 +01:00
parent a74de30889
commit f4361a998d
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,8 @@ COUNT DEX ; @Xu(post) @cycles
RTS
```
Please note that this will only yield data for labels which actually get called via `JSR` at some point in the program.
This programm calls the `COUNT` subroutine three times with different X arguments, and we get both X and the number of cycles spent in `COUNT`:
![X at PC 0x6010](doc/example04_1.gif?raw=true)