I am trying to make an assembler in C for the SIC architecture. And I saw that symbol table and object code table are usually made with hash tables.
What I wonder is, how assemblers print these tables.
- Do they memorize the insertion order of those hash tables?
- Or do they just print it by using intermmediate file?
And if it is the first case, how can I implement that in C?
I tried to search it in Internet, but it was no avail.