First off, this is a homework assignment but I cannot for the life of me find any reliable resources online that explain using the syntax my professor has us using.
I wanted to be up front about this being homework so as not to get an answer straight up but to ask for an explanation so I can learn for future reference. My professor is not the best at providing resources for learning this stuff so I've decided to turn to the great people here at SO for assistance.
The assignment is fairly straight forward. Using an array of strings (the NATO Military Alphabet), receive a series of words from the user and then output that series of words to the screen in military alphabet.
So for example, the input "Feed" would be output as:
Foxtrot
Echo
Echo
Delta
My question is quite basic. How does one declare a string array in Assembly (I'm fairly certain I'm using AT&T syntax since it using $ and % before variables and registers)?
Thanks for the help in advance! Let me know if I need to elaborate at all, I'll be happy to do so.
EDIT 1:
So with some explanations from the comments, I've come up with this so far for defining an array of addresses which point to asciz values for the military alphabet.
.section .data
Alpha: .asciz "Alpha"
Beta: .asciz "Beta"
Charlie: .asciz "Charlie"
Delta: .asciz "Delta"
Echo: .asciz "Echo"
Foxtrot: .asciz "Foxtrot"
Golf: .asciz "Golf"
Hotel: .asciz "Hotel"
India: .asciz "India"
Juliet: .asciz "Juliet"
Kilo: .asciz "Kilo"
Lima: .asciz "Lima"
Mike: .asciz "Mike"
November: .asciz "November"
Oscar: .asciz "Oscar"
Papa: .asciz "Papa"
Quebec: .asciz "Quebec"
Romeo: .asciz "Romeo"
Sierra: .asciz "Sierra"
Tango: .asciz "Tango"
Uniform: .asciz "Uniform"
Victor: .asciz "Victor"
Whiskey: .asciz "Whiskey"
Xray: .asciz "X-Ray"
Yankee: .asciz "Yankee"
Zulu: .asciz "Zulu"
MAlpha: .long Alpha, Beta, Charlie, Delta, Echo, Foxtrot, Golf, Hotel, India, Juliet, Kilo, Lima, Mike, November, Oscar, Papa, Quebec, Romeo, Sierra, Tango, Uniform, Victor, Whiskey, Xray, Yankee, Zulu