Moved prog_t.count -> prog_t.prog_header_t.count

This commit is contained in:
2024-04-16 18:21:39 +06:30
parent 38d7c13287
commit 5d6cf212e7
2 changed files with 10 additions and 14 deletions

View File

@@ -164,12 +164,12 @@ typedef struct
typedef struct
{
word start_address;
word count;
} prog_header_t;
typedef struct
{
prog_header_t header;
word count;
inst_t instructions[];
} prog_t;