Skip to content

Commit

Permalink
fixes #192 Export arbitrary RAM locations as constants
Browse files Browse the repository at this point in the history
  • Loading branch information
TG9541 committed Apr 15, 2018
1 parent 8c60572 commit 9b652cd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ build: words

clean:
rm -rf out/*
rm target

words:
awk 'BEGIN { print "# STM8EF Words"} /^; +[^ ]+ +.+--/&&!p {p=1;print "```"} !/^;/&&p {p=0; print "```\n"} p' forth.asm > docs/words.md
Expand Down
10 changes: 10 additions & 0 deletions docs/words.md
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,16 @@
; Display contents in memory cell.
```

```
; YFLAGS ( n -- ) ( TOS STM8: - Y,Z,N )
; Consume TOS to CPU Y and Flags
```

```
; AFLAGS ( c -- ) ( TOS STM8: - A,Z,N )
; Consume TOS to CPU A and Flags
```

```
; parse ( b u c -- b u delta ; <string> )
; Scan string delimited by c.
Expand Down

0 comments on commit 9b652cd

Please sign in to comment.