major touch-up into presentable form
[rrq/rrqforth.git] / adoc / p_abs.adoc
index 51726f2f01cb80af7a822b1cc2e2b97f17729aa6..8a9ed224ade52739c4ecbfaed8cceacd90dcfa4c 100644 (file)
@@ -1,9 +1,12 @@
+// math.asm:   WORD p_abs, 'ABS',fasm
+
 anchor:p_abs[]
 
-Word: ABS
----------
+=== Word: ABS
 
-----
-math.asm:      WORD p_abs, 'ABS',fasm
-----
+....
+Data stack: ( v1 -- v2 )
+....
 
+"ABS" is a function word that replaces a value with its absolute
+value. To that end, the values are 64-bit signed integers.