From 51fae38a0ff3044ae7811d97d3fcec3a594bff14 Mon Sep 17 00:00:00 2001 From: David Schmenk Date: Wed, 13 Dec 2017 21:00:31 -0800 Subject: [PATCH] Updated System Library (markdown) --- System-Library.md | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/System-Library.md b/System-Library.md index 81c0eaf..116a9d2 100644 --- a/System-Library.md +++ b/System-Library.md @@ -38,26 +38,26 @@ word sysvars ``` ### The exported API: ``` -def putc(c)#0 -def putln()#0 -def puts(s)#0 -def puti(i)#0 -def getc()#1 -def gets(p)#1 -def toupper(c)#1 -def call(addr,areg,xreg,yreg,status)#1 -def syscall(cmd,params)#1 -def heapmark()#1 -def heapallocalign(size, pow2, freeaddr) -def heapalloc(size)#1 -def heaprelease(newheap)#1 -def heapavail()#1 -def memset(addr,value,size)#0 -def memcpy(dst,src,size)#0 -def isugt(a,b)#1 -def isuge(a,b)#1 -def isult(a,b)#1 -def isule(a,b)#1 -def modload(mod)#1 -def modexec(modfile)#1 -def modaddr(str)#1 \ No newline at end of file +putc(c)#0 +putln()#0 +puts(s)#0 +puti(i)#0 +getc()#1 +gets(p)#1 +toupper(c)#1 +call(addr,areg,xreg,yreg,status)#1 +syscall(cmd,params)#1 +heapmark()#1 +heapallocalign(size, pow2, freeaddr) +heapalloc(size)#1 +heaprelease(newheap)#1 +heapavail()#1 +memset(addr,value,size)#0 +memcpy(dst,src,size)#0 +isugt(a,b)#1 +isuge(a,b)#1 +isult(a,b)#1 +isule(a,b)#1 +modload(mod)#1 +modexec(modfile)#1 +modaddr(str)#1 \ No newline at end of file