setf.xml */
| 20710 | |
| 20711 | /* setf.xml */ |
| 20712 | int SETF(context *ctx, Instruction *instr) |
| 20713 | { |
| 20714 | int rc = DECODE_STATUS_UNMATCHED; |
| 20715 | /* class iclass_general */ |
| 20716 | /* sf=0|op=0|S=1|11010000|opcode2=000000|sz=x|0010|Rn=xxxxx|o3=0|mask=1101 */ |
| 20717 | if((INSWORD & 0xFFFFBC1F)==0x3A00080D) { |
| 20718 | decode_fields32(ENC_SETF8_ONLY_SETF, ctx, instr); |
| 20719 | if(!HaveFlagManipulateExt() || ctx->sf!=0) { |
| 20720 | UNDEFINED; |
| 20721 | } |
| 20722 | ctx->msb = (ctx->sz==1) ? 15 : 7; |
| 20723 | ctx->n = UINT(ctx->Rn); |
| 20724 | if(ctx->sz==0) OK(ENC_SETF8_ONLY_SETF); |
| 20725 | if(ctx->sz==1) OK(ENC_SETF16_ONLY_SETF); |
| 20726 | } |
| 20727 | return rc; |
| 20728 | } |
| 20729 | |
| 20730 | /* sev.xml */ |
| 20731 | int SEV(context *ctx, Instruction *instr) |
no test coverage detected