Mitsubishi — 5.6 Descriptions of the Applied Instructions

Chapter 5 Applied Instructions Additional remark  The relations between flags and values are shown below. 16-bit addition: Zero flag Zero flag Zero flag -2 -1 0 -32,768 、 、、 、、 -1 0 1 32,767 0 1 2 、、、 Negative number: The value of the highest bit is 1. Positive number: The value of the highest bit is 0. Borrow flag Carry flag 32-bit addition: Zero flag Zero flag Zero flag -2 -1 0 -2,147,483,648 、 、、 、、 -1 0 1 2,147,483,647 0 1 2 、、、 Borrow flag Carry flag Negative number: The value of the highest bit is 1. Positive number: The value of the highest bit is 0. 5-39