void pseudoopcode_jump (void) { opcs = 0; set_opcodes(0); error = E_UNKNOWN_OPCODE; if (strcmp( (char *)token,"#def")==0) { if (pass==1) error = pop_define((unsigned char *) file_line,token_len); else error = E_OK; } if (strcmp( (char *)token,"#org")==0) { error = pop_org((unsigned char *) file_line,token_len); addr = get_addr(); } if (strcmp( (char *)token,"#cfg")==0) { error = pop_cfg((unsigned char *) file_line,token_len); addr = get_addr(); } if (strcmp( (char *)token,"#ps")==0) { error = pop_ps((unsigned char *) file_line,token_len); addr = get_addr(); } }
int export_variables(encodingType encoding){ encodingReformat(encoding); fprintf(fpLOG,"\nOpcodes assigned to the graphs:\n"); for(int i = 0; i < cpog_count; i++) fprintf(fpLOG,"%s\n",scenarioOpcodes[i].c_str()); // set opcode length bits = scenarioOpcodes[0].length(); // set opcodes if (set_opcodes(cpog_count) != 0){ fprintf(stderr,"Conversion into BitType failed.\n"); return -1; } return 0; }