| 251 | |
| 252 | |
| 253 | static bool HasWriteback(decomp_result* instr, size_t operand) |
| 254 | { |
| 255 | switch (instr->format->operands[operand].writeback) |
| 256 | { |
| 257 | case WRITEBACK_YES: |
| 258 | return true; |
| 259 | case WRITEBACK_OPTIONAL: |
| 260 | return thumb_has_writeback(instr); |
| 261 | default: |
| 262 | return false; |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | |
| 267 | static ExprId ShiftedRegister(LowLevelILFunction& il, decomp_result* instr, uint32_t reg, uint32_t t, uint32_t n) |
no test coverage detected