Skip to content

title: "Abs" description: TRSE built-in method (from IDE help)


Abs

Systems: MOS6502, M68000, M6809, Z80
Parameters: ib


[byte] = Abs( [byte] );

  • [byte] - the value to convert

Description

Returns the absolute value of the argument. For example -1 ( %11111111 ) will become 1.

Example