Question: I need help allocating and initializing this function at the bottom of the image. 1. Create a new symbol table and return a pointer to
I need help allocating and initializing this function at the bottom of the image.
1. Create a new symbol table and return a pointer to it.
2. Allocate and initialize hash_table and addr_table
3. Return a pointer to the symbol table

#include addr tableThe latter is 51an array of chanke/code> that is indexed by an LC3 52address to find the label (if any) associated with that address. 53@param capacity - the size of the hash table. 54@return a pointer to the symbol table. 56 sym table t* symbol_init (int capacity) 57* Your Code Here / 58 60 61 64 67
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
