mirror of https://git.wuffs.org/MWCC
56 lines
1.0 KiB
C
56 lines
1.0 KiB
C
|
#include "PCodeInfo.h"
|
||
|
|
||
|
void pcode_get_hi_lo(int a1, char a2, int *pA, int *pB) {
|
||
|
|
||
|
}
|
||
|
|
||
|
int pcode_check_imm_bits(int a1, int a2, int a3) {
|
||
|
|
||
|
}
|
||
|
|
||
|
int pcode_const_from_format(char *buf, int *pResult) {
|
||
|
|
||
|
}
|
||
|
|
||
|
PCode *vformatpcode(short opcode, va_list argList) {
|
||
|
|
||
|
}
|
||
|
|
||
|
int expectandformatoperand(PCodeArg *operand, unsigned char expectedKind, char a3, int bitCount, char *buf) {
|
||
|
}
|
||
|
|
||
|
int formatoperand(PCodeArg *operand, char *buf) {
|
||
|
|
||
|
}
|
||
|
|
||
|
void formatoperands(PCode *pcode, char *buf, int showBasicBlocks) {
|
||
|
|
||
|
}
|
||
|
|
||
|
PCode *makecopyinstruction(PCodeArg *a, PCodeArg *b) {
|
||
|
|
||
|
}
|
||
|
|
||
|
int is_location_independent(PCode *pcode) {
|
||
|
|
||
|
}
|
||
|
|
||
|
int can_reuse_stored_value(PCode *a, PCode *b) {
|
||
|
|
||
|
}
|
||
|
|
||
|
int nbytes_loaded_or_stored_by(PCode *pcode) {
|
||
|
|
||
|
}
|
||
|
|
||
|
void change_num_operands(PCode *pcode, int newNum) {
|
||
|
|
||
|
}
|
||
|
|
||
|
void change_opcode(PCode *pcode, short opcode) {
|
||
|
pcode->flags = (pcode->flags & ~(opcodeinfo[pcode->op].flags & ~fIsPtrOp)) | opcodeinfo[opcode].flags;
|
||
|
if ((pcode->flags & fPCodeFlag10) && (pcode->flags & (fPCodeFlag1 | fPCodeFlag8)))
|
||
|
pcode->flags &= ~fPCodeFlag10;
|
||
|
pcode->op = opcode;
|
||
|
}
|