Skip to content

Commit

Permalink
Merge pull request #4 from digarok/fix-typ
Browse files Browse the repository at this point in the history
Fix TYP direxctive
  • Loading branch information
lroathe authored May 5, 2020
2 parents 15006b9 + 388ed4b commit 2ba4651
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Source/a65816_Line.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,17 @@ int DecodeLineType(struct source_line *first_line, struct macro *current_macro,
AddDateLine(current_line);
continue;
}


/** TYP: File type **/
if(!my_stricmp(current_line->opcode_txt,"TYP"))
{
current_line->type = LINE_DIRECTIVE;

/* Decode the value */
current_omfproject->type = GetByteValue(current_line->operand_txt);
continue;
}

/** Line Defining a Global Entry Point for InterSegs **/
if(strlen(current_line->label_txt) > 0 && !my_stricmp(current_line->opcode_txt,"ENT"))
{
Expand Down

0 comments on commit 2ba4651

Please sign in to comment.