mirror of
https://github.com/specht/champ.git
synced 2024-11-26 16:49:35 +00:00
documentation
This commit is contained in:
parent
80d0823e12
commit
3f63738382
@ -103,7 +103,7 @@ TEST LDA #0
|
||||
RTS
|
||||
```
|
||||
|
||||
Here, we declare the type of the global variable in the same place the variable itself is declared, using `u8`, `s8`, `u16`, or `s16` to declare the type. Later, we can just watch the variable by issuing a champ directive like `@FOO@`. In this example, we use the `(post)` option to see the variable contents after the `STA` operation.
|
||||
Here, we declare the type of the global variable in the same place the variable itself is declared, using `u8`, `s8`, `u16`, or `s16` to declare the type. Later, we can just watch the variable by issuing a champ directive like `@FOO`. In this example, we use the `(post)` option to see the variable contents after the `STA` operation.
|
||||
|
||||
![FOO at PC 0x600b](doc/example02_1.gif?raw=true)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user