Home
last modified time | relevance | path

Searched refs:RCX_Value (Results 1 – 25 of 55) sorted by relevance

123

/dports/lang/nqc/nqc-3.1.r6_1/rcxlib/
H A DRCX_Cmd.h64 RCX_Cmd* MakeVar(RCX_VarCode code, UByte var, RCX_Value value);
65 RCX_Cmd* MakeVarNewSrc(RCX_VarCode code, UByte var, RCX_Value value);
69 RCX_Cmd* MakeOutputPower(UByte outputs, RCX_Value value);
81 RCX_Cmd* MakeTest(RCX_Value v1, RCX_Relation rel, RCX_Value v2, short offset);
83 RCX_Cmd* MakeSetLoop(RCX_Value v) { return MakeValue8(kRCX_SetLoopOp, v); } in MakeSetLoop()
88 RCX_Cmd* MakeDelay(RCX_Value value) { return MakeValue16(kRCX_DelayOp, value); } in MakeDelay()
90 RCX_Cmd* MakeSet(RCX_Value dst, RCX_Value src);
91 RCX_Cmd* MakeSetMath(RCX_Value dst, RCX_Value src, RCX_VarCode op);
95 RCX_Cmd* MakeRead(RCX_Value value) { return MakeValue8(kRCX_ReadOp, value); } in MakeRead()
112 RCX_Cmd* MakeValue16(UByte opcode, RCX_Value value);
[all …]
H A DRCX_Cmd.cpp191 RCX_Cmd* RCX_Cmd::MakeOutputPower(UByte outputs, RCX_Value value) in MakeOutputPower()
197 RCX_Cmd* RCX_Cmd::MakeValue16(UByte op, RCX_Value value) in MakeValue16()
204 RCX_Cmd* RCX_Cmd::MakeValue8(UByte op, RCX_Value value) in MakeValue8()
209 RCX_Cmd* RCX_Cmd::MakeSet(RCX_Value dst, RCX_Value src) in MakeSet()
226 RCX_Cmd* RCX_Cmd::MakeSetMath(RCX_Value dst, RCX_Value src, RCX_VarCode op) in MakeSetMath()
290 RCX_Cmd* RCX_Cmd::MakeTest(RCX_Value v1, RCX_Relation rel, RCX_Value v2, short offset) in MakeTest()
388 RCX_Cmd* RCX_Cmd::MakeVarNewSrc(RCX_VarCode code, UByte var, RCX_Value value) in MakeVarNewSrc()
450 RCX_Cmd* RCX_Cmd::MakeVar(RCX_VarCode code, UByte var, RCX_Value value) in MakeVar()
/dports/lang/nqc/nqc-3.1.r6_1/compiler/
H A DExpr.cpp42 RCX_Value Expr::EmitAny(Bytecode &b) const in EmitAny()
72 RCX_Value Expr::EmitConstrained(Bytecode &b, long mask, bool canUseLocals) const in EmitConstrained()
83 RCX_Value ea = EmitAny(b); in EmitConstrained()
128 RCX_Value Expr::EmitMath(Bytecode &b) const in EmitMath()
163 RCX_Value Expr::GetStaticEA() const in GetStaticEA()
176 RCX_Value Expr::GetStaticEA_() const in GetStaticEA_()
184 RCX_Value ea = EmitAny_(b); in EmitTo_()
208 RCX_Value ea = EmitConstrained(b, TEST_MASK); in EmitBranch_()
223 RCX_Value Expr::EmitBoolAny(Bytecode &b) const in EmitBoolAny()
229 RCX_Value dstEA = RCX_VALUE(kRCX_VariableType, dst); in EmitBoolAny()
H A DExpr.h88 RCX_Value GetStaticEA() const;
98 RCX_Value EmitAny(Bytecode &b) const;
100 RCX_Value EmitConstrained(Bytecode &b, long mask, bool canUseLocals=true) const;
103 RCX_Value EmitMath(Bytecode &b) const;
107 virtual RCX_Value EmitAny_(Bytecode &b) const = 0;
112 virtual RCX_Value GetStaticEA_() const;
116 RCX_Value EmitBoolAny(Bytecode &b) const;
H A DBytecode.h101 void AddTest(RCX_Value v1, RCX_Relation rel, RCX_Value v2, int label);
102 void AddMove(int dst, RCX_Value ea);
120 void ReleaseTempEA(RCX_Value ea);
121 bool IsTempEA(RCX_Value ea) const;
122 bool IsLocalEA(RCX_Value ea) const;
H A DAssignMathStmt.cpp37 RCX_Value dst = fLval->EmitAny(b); in EmitActual()
58 RCX_Value ea = fValue->EmitMath(b); in EmitOperation()
68 void AssignMathStmt::EmitValueOperation(Bytecode &b, RCX_Value dst) in EmitValueOperation()
70 RCX_Value ea = fValue->EmitMath(b); in EmitValueOperation()
H A DValueExpr.cpp31 RCX_Value ValueExpr::EmitAny_(Bytecode &) const in EmitAny_()
37 return (RCX_Value)v; in EmitAny_()
41 RCX_Value ValueExpr::GetStaticEA_() const in GetStaticEA_()
H A DModExpr.cpp48 RCX_Value ModExpr::EmitAny_(Bytecode &b) const in EmitAny_()
56 RCX_Value ea = RCX_VALUE(kRCX_VariableType, dst); in EmitAny_()
74 RCX_Value ea; in EmitTo_()
92 RCX_Value m, n; in EmitCalculation()
H A DSwitchStmt.h55 SwitchState(RCX_Value selector, int defaultLabel) : in SwitchState()
63 RCX_Value GetSelector() const { return fSelector; } in GetSelector()
67 RCX_Value fSelector;
H A DBinaryExpr.cpp133 RCX_Value BinaryExpr::EmitAny_(Bytecode &b) const in EmitAny_()
136 RCX_Value ea; in EmitAny_()
137 RCX_Value dstEA; in EmitAny_()
182 RCX_Value ea = Get(1)->EmitMath(b); in EmitTo_()
H A DUnaryExpr.cpp85 RCX_Value UnaryExpr::EmitAny_(Bytecode &b) const in EmitAny_()
88 RCX_Value ea; in EmitAny_()
117 RCX_Value ea; in EmitTo_()
H A DBytecode.cpp134 void Bytecode::AddTest(RCX_Value v1, RCX_Relation rel, RCX_Value v2, int label) in AddTest()
144 void Bytecode::AddMove(int dst, RCX_Value ea) in AddMove()
414 void Bytecode::ReleaseTempEA(RCX_Value ea) in ReleaseTempEA()
424 bool Bytecode::IsTempEA(RCX_Value ea) const in IsTempEA()
432 bool Bytecode::IsLocalEA(RCX_Value ea) const in IsLocalEA()
H A DValueExpr.h37 virtual RCX_Value EmitAny_(Bytecode &b) const;
38 virtual RCX_Value GetStaticEA_() const;
H A DSensorExpr.cpp32 RCX_Value SensorExpr::EmitAny_(Bytecode &) const in EmitAny_()
45 RCX_Value ea; in Evaluate()
H A DAddrOfExpr.h41 virtual RCX_Value EmitAny_(Bytecode &b) const;
42 virtual RCX_Value GetStaticEA_() const;
H A DDerefExpr.h47 virtual RCX_Value EmitAny_(Bytecode &b) const;
48 virtual RCX_Value GetStaticEA_() const;
H A DRelExpr.cpp100 RCX_Value ea1 = Get(0)->EmitConstrained(b, TEST_MASK); in EmitBranch_()
101 RCX_Value ea2 = Get(1)->EmitConstrained(b, TEST_MASK); in EmitBranch_()
106 RCX_Value t = ea1; in EmitBranch_()
H A DAtomExpr.h49 virtual RCX_Value EmitAny_(Bytecode &b) const;
50 virtual RCX_Value GetStaticEA_() const;
H A DAddrOfExpr.cpp53 RCX_Value AddrOfExpr::EmitAny_(Bytecode &) const in EmitAny_()
89 RCX_Value AddrOfExpr::GetStaticEA_() const in GetStaticEA_()
H A DAssignStmt.cpp45 RCX_Value dst = fLval->EmitAny(b); in EmitActual()
57 RCX_Value ea = fValue->EmitAny(b); in EmitActual()
H A DEventSrcExpr.cpp35 RCX_Value EventSrcExpr::EmitAny_(Bytecode &) const in EmitAny_()
45 RCX_Value ea; in Evaluate()
H A DDerefExpr.cpp73 RCX_Value DerefExpr::EmitAny_(Bytecode &) const in EmitAny_()
116 RCX_Value DerefExpr::GetStaticEA_() const in GetStaticEA_()
H A DAtomExpr.cpp88 RCX_Value AtomExpr::EmitAny_(Bytecode &) const in EmitAny_()
128 RCX_Value AtomExpr::GetStaticEA_() const in GetStaticEA_()
H A DIncDecExpr.cpp54 RCX_Value IncDecExpr::EmitAny_(Bytecode &b) const in EmitAny_()
56 RCX_Value src; in EmitAny_()
H A DTypeExpr.cpp31 RCX_Value TypeExpr::EmitAny_(Bytecode &) const in EmitAny_()

123