0 votes
in General Knowledge by (744k points)
How do I declare static class variables in an assembler program?

1 Answer

0 votes
by (744k points)
 
Best answer
In the .data/.rodata section of your program, use the following to place a given value in memory.

.quad value

.long value

.word value

.byte value

.string (specifies that the characters enclosed in quotation marks are to be stored in memory, terminated by a null byte)
Welcome to the Answerine , a great place to find, read and share your favorite questions and answers.
...