aforth

FORTH for Linux x86-64, written in assembly.
git clone git://henryandlizzy.uk/aforth
Log | Files | Refs | README

commit 1bc0aada3515901f102e9cd7353c30b7777c564e
parent 5ad787e1cbc1712c2505d382514912c6d9339572
Author: Henry Wilson <m3henry@googlemail.com>
Date:   Sat, 17 Jun 2017 01:06:09 +0100

type

Diffstat:
Mmain.s | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/main.s b/main.s @@ -267,6 +267,13 @@ print: codeword mov TOS, ARGB syscall jmp _drop +type: codeword + mov $1, CMD + mov $1, ARGA + mov (SP), ARGB + mov TOS, ARGC + syscall + jmp _drop2 halt: codeword xor ARGA, ARGA # default return code 0