In this game, the hero moves from left to right. The player rolls the dice and moves the number of spaces indicated by the dicetwo times. Create a function for the terminal game that takes the current position of the hero and the roll (1-6) and return the new position. Example: move...
The result of the MOVE is easily explained: you move 3 bytes of number with probably LOW-VALUES following those 3 bytes into a 5-byte numeric variable -- since you defined LS-ARMSTRONG-NUM as 5 bytes, COBOL will always use 5 bytes for the MOVE. The first three bytes moved fine. The ...