home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
LA
/
LA026.ZIP
/
LN1.SIM
< prev
next >
Wrap
Text File
|
1990-10-14
|
2KB
|
125 lines
te1
qc
!
!
!
!
! ┌──────────────────────┐
! │ WELCOME TO LESSON 1 │
! └──────────────────────┘
!
qp
! This lesson let you learn how to
! get help from UMPS, how to input
! the data into the memory and how
! to display the content of the memory.
!
! Those lines which begin with "$" sign and
! appear at the first section contains the
! command supposed to be entered by the user.
!
!
! Those lines which do not begin with "$"
! sign and appear at the first section
! contains the response from the UMPS.
!
!
! All of the comments show up at
! the second section.
!
qp
!
! First of all,
! how do you get help from UMPS?
! The "h" command is what you need.
!
h
!
qp
!
! The "h" command only lists the
! outlines of the group commands.
! Each group command begins with a
! letter followed with a '?' mark.
!
! What kinds of commands do you need
! to input the data into the memory?
!
! Let's have one more look at the
! list form the "h" command.
qp
!
h
qp
!
! Remember part of the list from "h" command.
!
! i? :Input data starting from iSA
! p? :Set SA command
!
! The 'i' group commands let you decide
! the way to input the data.
! The 'p' group commands let you decide
! where to begin with.
!
qp
!
! To look closely at each command in 'p'
! group the command "hp" is what you need.
!
hp
!
qp
!
! To look closely at each command in 'i'
! group the command "hi" is what you need.
!
hi
!
qp
!
! First you need to determine
! where to begin to input the data.
! Use the "pi" command to set iSA.
!
! Assume we want to input the data
! into the memory beginning at $100.
!
pi100
!
! Remember that UMPS has three
! commands "id", "is" and "ix" in
! 'i' group to let you input the data.
! Let's try all of them to see the differences.
!
id 48 49 50
!
is abcd efgh
!
ix 48 49 50
!
qp
! How can you be sure that all the data
! has been stored into the memory?
! You need the command "pm" to set the starting
! address at $100 to display those data just entered.
pm100
!
! Now use the "m16" command to display
! sixteen bytes of the memory data.
!
m16
!
!
! The "pp" command will print out all the
! starting addresses.
pp
!
! Have you noticed that mSA stays at $100
! whereas iSA changes to $110?
qp
!
! Use the command "fb ln2"
! to learn the UMPS lesson 2.
! Use the command "qq" to exit from UMPS.