// undefined (deliberate illegal instruction)
{i: 78, as: obj.AUNDEF},
+ // Break point instruction(0x0001 opcode)
+ {i: 73, as: ABRRK},
+
// 2 byte no-operation
{i: 66, as: ANOPH},
op_XSCH uint32 = 0xB276 // FORMAT_S CANCEL SUBCHANNEL
op_XY uint32 = 0xE357 // FORMAT_RXY1 EXCLUSIVE OR (32)
op_ZAP uint32 = 0xF800 // FORMAT_SS2 ZERO AND ADD
+ op_BRRK uint32 = 0x0001 // FORMAT_E BREAKPOINT
// added in z13
op_CXPT uint32 = 0xEDAF // RSL-b CONVERT FROM PACKED (to extended DFP)
zSIL(opcode, uint32(r), uint32(d), uint32(v), asm)
}
+ case 73: //Illegal opcode with SIGTRAP Exception
+ zE(op_BRRK, asm)
+
case 74: // mov reg addr (including relocation)
i2 := c.regoff(&p.To)
switch p.As {
GLOBL runtime·mainPC(SB),RODATA,$8
TEXT runtime·breakpoint(SB),NOSPLIT|NOFRAME,$0-0
- MOVD $0, 2(R0)
+ BRRK
RET
TEXT runtime·asminit(SB),NOSPLIT|NOFRAME,$0-0