Optimizing comparison instruction count (PDP-11)

Posted by lego69 on Stack Overflow See other posts from Stack Overflow or by lego69
Published on 2010-04-27T05:43:22Z Indexed on 2010/05/31 19:53 UTC
Read the original article Hit count: 294

Filed under:
|
|

For PDP-11, how can I change the following snippet of assembly so that it's only two instructions, yet does the same work as these four?

tst r0
blt label
cmp r0, #75
bgt label

© Stack Overflow or respective owner

Related posts about homework

Related posts about assembly