Arm/declstrword

From ASMBits

Starting at label "STUFF', declare the following:

  1. A null-terminated string, "Hi",
  2. A word with value 0x1234"

Be sure that declarations are properly aligned.

This problem only checks for the declaration. There is no code.

Expected solution length: Around 2 lines.

Sample Input

[No input]

Sample Output

[No output] 

Strings are arrays of bytes, so they have no alignment requirements. Half-words and words need to be "naturally aligned" (must start at a multiple of their size: 2 or 4 bytes, respectively). The .align directive may be useful here.)

Write your solution here

Upload a source file...