Skip to content
Tactiverge
Level 5Processor designChoose and justify

Design the comparison

You are writing a compiler for Bench-8. It must turn "if A ≥ x then go to big" (unsigned) into instructions. Bench-8's SUB sets C = 1 on a borrow.

Which sequence is correct for every A and x from 0 to 255?

New to this? Silicon Studio 11: Arithmetic logic unit

How results are computed: model assumptions.

Choose one