The trap and trapz/trapnz instructions now take a trap code immediate operand which indicates the reason for trapping.