1 ;;; Words doing arithmetics
5 ;; n3 is the sum of n1 and n2
10 WORD p_minus, '-',fasm
12 ;; n3 is the result of subtracting n2 from n1
19 ;; multiply n1 * n2 to n3 ignoring overflow
26 WORD p_abs, 'ABS',fasm
28 ;; u is the absolute value of n.
35 WORD p_max, 'MAX',fasm
37 ;; c is the least a and b
45 WORD p_min, 'MIN',fasm
47 ;; c is the least a and b
55 WORD p_negate, 'NEGATE',fasm
57 ;; Negate n1, giving its arithmetic inverse n2.
63 WORD p_divmod,'/MOD',fasm
65 ;; divide signed x/y giving quotient q and remainder r
76 ;; divide signed x/y giving quotient q and discard remainder