📄 comandolabel.cpp
字号:
//ComandoLabel.cpp
#include "ComandoLabel.h"
//Construtor
ComandoLabel::ComandoLabel(Memoria *mem_labels, string rotulo, int linha){
this->mem_labels = mem_labels;
//seta linha no vetor de execucao
this->linha = linha;
//rotulo do comando
this->rotulo = rotulo;
}
int ComandoLabel::executa(){
return linha;
}
string ComandoLabel::toString(){
string saida = this->rotulo + ":";
return saida;
}
void ComandoLabel::defineLinhaSalto(int nolinha){
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -