rename assembler funcs for clarity
This commit is contained in:
parent
225ade7770
commit
f57e0a786f
@ -49,7 +49,7 @@ st* firstPass(a64inst_instruction instrs[], int numInstrs){
|
|||||||
}
|
}
|
||||||
return &table;
|
return &table;
|
||||||
}
|
}
|
||||||
word dpi(a64inst_instruction cI) {
|
word assembleDPI(a64inst_instruction cI) {
|
||||||
word out = 0;
|
word out = 0;
|
||||||
a64inst_DPImmediateData data = cI.data.DPImmediateData;
|
a64inst_DPImmediateData data = cI.data.DPImmediateData;
|
||||||
//sf
|
//sf
|
||||||
@ -78,7 +78,7 @@ word dpi(a64inst_instruction cI) {
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
word dpr(a64inst_instruction cI) {
|
word assembleDPR(a64inst_instruction cI) {
|
||||||
word out = 0;
|
word out = 0;
|
||||||
a64inst_DPRegisterData data = cI.data.DPRegisterData;
|
a64inst_DPRegisterData data = cI.data.DPRegisterData;
|
||||||
// sf
|
// sf
|
||||||
@ -131,7 +131,7 @@ word dpr(a64inst_instruction cI) {
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
word sts(a64inst_instruction cI) {
|
word assembleSTS(a64inst_instruction cI) {
|
||||||
a64inst_SingleTransferData data = cI.data.SingleTransferData;
|
a64inst_SingleTransferData data = cI.data.SingleTransferData;
|
||||||
word out = 0;
|
word out = 0;
|
||||||
a64inst_SingleDataTransferData data2 = data.processOpData.singleDataTransferData;
|
a64inst_SingleDataTransferData data2 = data.processOpData.singleDataTransferData;
|
||||||
@ -166,7 +166,7 @@ word sts(a64inst_instruction cI) {
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
word ldl(a64inst_instruction cI) {
|
word assembleLDL(a64inst_instruction cI) {
|
||||||
word out = 3*(2^27);
|
word out = 3*(2^27);
|
||||||
a64inst_SingleTransferData data = cI.data.SingleTransferData;
|
a64inst_SingleTransferData data = cI.data.SingleTransferData;
|
||||||
int sf = data.regType;
|
int sf = data.regType;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user