Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
André
Level 1
Level 1
First reply posted 5 sign-ins First question asked

Hi all,

Can some explain me the behaviour of the TC264 when:

sub d1, d2 with d2 > d1

For e.g

d1 = 0xA

d2 = 0xFFFFFF00

The result is 0x10A, but why?

BR,

André

0 Likes
1 Solution
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored

d1 = 0xA = 10
d2 = 0xFFFFFF00 = -256

0x10A = 266 = 10 - (-256) = 10 + 256

View solution in original post

0 Likes
1 Reply
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored

d1 = 0xA = 10
d2 = 0xFFFFFF00 = -256

0x10A = 266 = 10 - (-256) = 10 + 256

0 Likes