I'm trying find only the values in this file that have a comma after them and then print them out while ignoring everything else. I'm having some trouble though.
This is the file here.
1 2 3 4 5 6 7 8 9
ORG 100
LOAD X
ADD Y
STORE Z
HALT
X, DEC 49
Y, DEC -80
Z, HEX 0000
And this is what I have so far, but it's not working.