Why am I getting Runtime exception at 0x004000e8: fetch address not aligned on word boundary 0x1001004a
.data .align 2 # Align the next data item on a word boundary intArr: .space 28 # Array to hold integers (7 * 4 bytes) vtdPrompt: .asciiz “vals to do? ” entIntPrompt: .asciiz “enter an int: ” adjMsg: .asciiz ” is bad, make it ” origLab: .asciiz “original:\n” backLab: .asciiz “backward:\n” dmPrompt: .asciiz “do more? […]
can anyone pls help why am i getting Runtime exception at 0x004000e8: fetch address not aligned on word boundary 0x1001004a
.data
.align 2 # Align the next data item on a word boundary
intArr: .space 28 # Array to hold integers (7 * 4 bytes)
vtdPrompt: .asciiz “vals to do? ”
entIntPrompt: .asciiz “enter an int: ”
adjMsg: .asciiz ” is bad, make it ”
origLab: .asciiz “original:n”
backLab: .asciiz “backward:n”
dmPrompt: .asciiz “do more? ”
invalid_input_msg: .asciiz “Invalid input. Please enter a valid integer.n”