public byte GetEndNote() { int DE = work.MDATA; byte endNote = msub.STTONE(); work.MDATA = DE; if (mucInfo.Carry) { mucInfo.Carry = true; // SCF return(0); // RET } return(endNote); }
// ** ポルタメント ケイサン ** // IN: HL<={CG}ダッタラ GノテキストADR // EXIT: DE<=Mコマンドノ 3バンメ ノ ヘンカリョウ // Zフラグ=1 ナラ ヘンカシナイ public int CULPTM() { int DE = work.MDATA; byte note = msub.STTONE(); work.MDATA = DE; if (mucInfo.Carry) { mucInfo.Carry = true; // SCF return(0); // RET } int depth = CULP2(note) / (byte)(work.BEFCO >> 0);//Mem.LD_8(BEFCO + 1); ? if (!mucInfo.Carry) { return(depth); } mucInfo.Carry = false; return(-depth);// RET }