The following list is a description for data that are to be defined in the data segment of a RISC-V assembly language program. The data items are to be defined in the order listed. For this step, start with the shell program we created in class and using the RARS program, code the data segment using the data items below. For each item, determine the memory offset and include it as a comment after each definition like we did in the class example. Remember, each data item requires a symbol name, assembler directive and initial value as specified. Appropriate assembler directives should be selected based on the size of the data values specified. You are to select an arbitrary value for the initial value for each data item.
- An 8-bit numeric value in the range -128 to +127.
- A character string containing 8 alphanumeric characters.
- A 16-bit numeric value in the range 0 to 1000.
- A single lower-case alphabetic character.
- A 32-bit numeric value in the range -500 to +250.
- A 64-bit numeric value equal to the number of seconds in a week.
- An allocation of empty memory equivalent to the total number of bytes required for
data items 1 – 6.