home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / LA / LA026.ZIP / LN1.SIM < prev    next >
Text File  |  1990-10-14  |  2KB  |  125 lines

  1. te1
  2. qc
  3. !
  4. !
  5. !
  6. !
  7. ! ┌──────────────────────┐
  8. ! │ WELCOME TO LESSON 1  │
  9. ! └──────────────────────┘
  10. !
  11. qp
  12. ! This lesson let you learn how to
  13. ! get help from UMPS, how to input
  14. ! the data into the memory and how
  15. ! to display the content of the memory.
  16. !
  17. ! Those lines which begin with "$" sign and
  18. ! appear at the first section contains the
  19. ! command supposed to be entered by the user.
  20. !
  21. !
  22. ! Those lines which do not begin with "$"
  23. ! sign and appear at the first section
  24. ! contains the response from the UMPS.
  25. !
  26. !
  27. ! All of the comments show up at
  28. ! the second section.
  29. !
  30. qp
  31. !
  32. ! First of all,
  33. ! how do you get help from UMPS?
  34. ! The "h" command is what you need.
  35. !
  36. h
  37. !
  38. qp
  39. !
  40. ! The "h" command only lists the
  41. ! outlines of the group commands.
  42. ! Each group command begins with a
  43. ! letter followed with a '?' mark.
  44. !
  45. ! What kinds of commands do you need
  46. ! to input the data into the memory?
  47. !
  48. ! Let's have one more look at the
  49. ! list form the "h" command.
  50. qp
  51. !
  52. h
  53. qp
  54. !
  55. ! Remember part of the list from "h" command.
  56. !
  57. ! i?    :Input data starting from iSA
  58. ! p?    :Set SA command
  59. !
  60. ! The 'i' group commands let you decide
  61. ! the way to input the data.
  62. ! The 'p' group commands let you decide
  63. ! where to begin with.
  64. !
  65. qp
  66. !
  67. ! To look closely at each command in 'p'
  68. ! group the command "hp" is what you need.
  69. !
  70. hp
  71. !
  72. qp
  73. !
  74. ! To look closely at each command in 'i'
  75. ! group the command "hi" is what you need.
  76. !
  77. hi
  78. !
  79. qp
  80. !
  81. ! First you need to determine
  82. ! where to begin to input the data.
  83. ! Use the "pi" command to set iSA.
  84. !
  85. ! Assume we want to input the data
  86. ! into the memory beginning at $100.
  87. !
  88. pi100
  89. !
  90. ! Remember that UMPS has three
  91. ! commands "id", "is" and "ix" in
  92. ! 'i' group to let you input the data.
  93. ! Let's try all of them to see the differences.
  94. !
  95. id 48 49 50
  96. !
  97. is abcd efgh
  98. !
  99. ix 48 49 50
  100. !
  101. qp
  102. ! How can you be sure that all the data
  103. ! has been stored into the memory?
  104. ! You need the command "pm" to set the starting
  105. ! address at $100 to display those data just entered.
  106. pm100
  107. !
  108. ! Now use the "m16" command to display
  109. ! sixteen bytes of the memory data.
  110. !
  111. m16
  112. !
  113. !
  114. ! The "pp" command will print out all the
  115. ! starting addresses.
  116. pp
  117. !
  118. ! Have you noticed that mSA stays at $100
  119. ! whereas iSA changes to $110?
  120. qp
  121. !
  122. ! Use the command "fb ln2"
  123. ! to learn the UMPS lesson 2.
  124. ! Use the command "qq" to exit from UMPS.
  125.