comparison src/lwbasic.s @ 80:bb50ac9fdf37

Checkpoint with very basic integer and floating point arithmetic, untested This commit has implementations for floating point add, subtract, multiply, and divide, along with 32 bit signed integer equivalents. These can probably be optimized and they are untested.
author William Astle <lost@l-w.ca>
date Sat, 07 Oct 2023 02:56:59 -0600
parents eb2681108660
children a6a53e5c04bd
comparison
equal deleted inserted replaced
79:df86e6d64ce2 80:bb50ac9fdf37
46 include progctrl.s 46 include progctrl.s
47 include print.s 47 include print.s
48 include error.s 48 include error.s
49 include expr.s 49 include expr.s
50 include number.s 50 include number.s
51 include int.s
52 include fps.s
51 include token.s 53 include token.s
52 include miscdata.s 54 include miscdata.s
53 include keywords.s 55 include keywords.s
54 *pragmapop list 56 *pragmapop list
55 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 57 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;