Computer Hardware User's Guide

Absolute Value of Integer
ABSI
13-45
Assembly Language Instructions
Example 1 ABSI R0,R0
or
ABSI R0
Before Instruction After Instruction
R0 00 FFFF FFCB R0 00 0000 0035
–53 53
Example 2 ABSI *AR1,R3
Before Instruction After Instruction
R3 00 0000 0000 R3 00 0000 0035
AR1 00 0020 AR1 00 0020
Data memory
20 0FFFFFFCB 20 0FFFFFFCB
–53
53
–53