alu - Does SLT (set less than) sets the overflow and carry out flags? -


i wondering if should set overflow , carry out flags when using slt operation. understand have set them when arithmetic operations in alu used , flush them if logical operations used.

my dilemma because slt sounds logical operation , flags doesn't result, on other hand using subtraction when completing slt , overflow , carryout might occur.


Comments