summaryrefslogtreecommitdiffstats
path: root/ue3/mycpu/instructions.h
diff options
context:
space:
mode:
Diffstat (limited to 'ue3/mycpu/instructions.h')
-rw-r--r--ue3/mycpu/instructions.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/ue3/mycpu/instructions.h b/ue3/mycpu/instructions.h
index 8c62e0b..0e4d99c 100644
--- a/ue3/mycpu/instructions.h
+++ b/ue3/mycpu/instructions.h
@@ -274,29 +274,19 @@ class CInstructionLabel
274{ 274{
275 public: 275 public:
276 CInstructionLabel() 276 CInstructionLabel()
277 : CInstruction("label"), m_label("") 277 : CInstruction("label")
278 {} 278 {}
279 279
280 const bool isLabel()
281 {
282 return true;
283 }
284
285 const std::string getLabelName()
286 {
287 return m_label;
288 }
289
290 CInstructionLabel *factory() 280 CInstructionLabel *factory()
291 { 281 {
292 return new CInstructionLabel; 282 return new CInstructionLabel;
293 } 283 }
294 284
295 void compile(std::list<std::string>& params); 285 void compile(std::list<std::string>& params)
296 void execute(CCPU *cpu); 286 {}
297 287
298 protected: 288 void execute(CCPU *cpu)
299 std::string m_label; 289 {}
300}; 290};
301 291
302/*============================================================================*/ 292/*============================================================================*/