Implement opcodes for stars example