Update CSUB example in README.md
This commit is contained in:
@@ -24,13 +24,12 @@ Multiple embedded routines can be used in a program, each defining a different m
|
|||||||
## CSUB Code Example
|
## CSUB Code Example
|
||||||
|
|
||||||
```basic
|
```basic
|
||||||
CSUB test
|
CSUB simple
|
||||||
00000000 20420047
|
00000000 00004770
|
||||||
END CSUB
|
END CSUB
|
||||||
|
|
||||||
test()
|
simple()
|
||||||
|
PRINT " Returned successfully"
|
||||||
PRINT "Returned value in R0 was 42"
|
|
||||||
````
|
````
|
||||||

|

|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user