Fix group 7 and implement missing instructions.