Created
January 7, 2019 14:24
-
-
Save crcx/038bbc66c26cccecb9ac0aa08bcf4f7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: MATRIX ( m[rows] n[cols] -- c-addr ) | |
HERE >R | |
SWAP , , | |
R> | |
DUP @ SWAP | |
DUP 1 CELLS + @ SWAP | |
>R | |
* CELLS ALLOT | |
R> | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment