From 8a31ad4c8c7158697f3b7401734807c28a546d06 Mon Sep 17 00:00:00 2001 From: d6 Date: Mon, 27 Dec 2021 20:35:23 -0500 Subject: [PATCH] fix comments --- math32.tal | 2 +- test-math32.tal | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/math32.tal b/math32.tal index 3669622..977e94e 100644 --- a/math32.tal +++ b/math32.tal @@ -1,5 +1,6 @@ ( math32.tal ) ( ) +( This library supports arithmetic on 32-bit unsigned integers. ) ( 32-bit integers are represented by two 16-bit integers ) ( x** means xhi* xlo* ) @@ -7,7 +8,6 @@ %RTN { JMP2r } %TOR { ROT ROT } ( a b c -> c a b ) %TOR2 { ROT2 ROT2 } -%POP4 { POP2 POP2 } %COMPLEMENT32 { SWP2 #ffff EOR2 SWP2 #ffff EOR2 } ) ( bitcount: number of bits needed to represent number ) diff --git a/test-math32.tal b/test-math32.tal index 563472f..c876981 100644 --- a/test-math32.tal +++ b/test-math32.tal @@ -1,7 +1,6 @@ -( math32.tal ) +( test-math32.tal ) ( ) -( 32-bit integers are represented by two 16-bit integers ) -( x** means xhi* xlo* ) +( methods for testing math32 and emitting output ) %EMIT { #18 DEO } ) %DIGIT { #00 SWP ;digits ADD2 LDA EMIT }