Question: This program is to print out my name beginning at memory location $02100 and social security number beginning at $02160 using following addressing mode. Address
This program is to print out my name beginning at memory location $02100 and social security number beginning at $02160 using following addressing mode.
Address register direct An
Address register indirect (An)
Post-increment (An)+
Pre-decrement -(An)
Displacement d(An)
Equipment Used
EASy 68K simulator
Procedure
Load the memory set (A-Z,a-z,0-9) in the EASy 68K source file. Then the instructions were given to set name and social security number in the memory. Execute the program and got the memory window to check whether the required output set to the memory.
New Operations Learned
ORG
DC.L
DC.W
LEA.L
MOVE.B
Address register direct An
Address register indirect (An)
Post-increment (An)+
Pre-decrement -(An)
Displacement d(An)
Page - 3
Program Description
This program stores English Upper case letters from $00002000 , Lower case letters from $00002020 and numbers(0 to 9) from $00002040.After executing the program name (Leslie Aryeee) is set to memory from $00002100 and social security number (2520018937) is set to the memory from $00002160.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
