← index
ats.web/source/func_step.cpp
Source: ats.web/source/func_step.cpp
#include "function.hpp"


namespace token {
    void token_Step(const std::string &cmd, std::vector<lex::Token> &tokens) {
        if(code.instruct.size()==0) {
            stream << "Error: You must run build first.\r\n";
            return;
        }
        code.printCurrent();
        code.step();
        stream << "Registers: \r\n";
        code.print();
    }
}