Question
In JAVA, I want to take a a imput file1 args[0] and insert all items into a symbol table. I then want to read from
In JAVA, I want to take a a imput file1 args[0] and insert all items into a symbol table. I then want to read from another file args[1], and if I run accross a label from the symbol table(1st coloum), I want to print to console the number in the 3rd coloum for each label it runs across..(ie: +LDB will rutun the number 4 and print).(MULR will retun number 2 and print)
ie input file 1 (actual file longer)(ie. +LDB_68_4_3) A label, hex value, a number, a number)
+LDB 68 4 3 MULR 98 2 0 +SSK EC 4 0 WD DC 3 1 *STX 10 3 0 *OR 44 3 3 AND 40 3 3 *LDA 00 3 3 +JGT 34 4 0 +STL 14 4 0 *WD DC 3 1 +STI D4 4 0 LPS D0 3 0
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started