According to the DCPU specification, the only time a SET
instruction fails is if the a
value is a literal.
So would the following work?
SET [PC],0x1000
A more useful version would be setting an offset of PC
, so a rather strange infinite loop would be:
SET [PC+0x2],0x89C3 ; = SUB PC,0x2