hewlett-packard HP 9835A — 014

14 Getting Started the object code is consequently stored into the file "MUL T". Later programs can retrieve the object code for use, such as in the following program - 10 INTEGER Dimension~Index~Subscript ~AA ICRll Multiply(I Djmension,Sub~:ript) (Both ISTORE and ILOAD are discussed in the "Retrieving and Storing Modules" section of this chapter.) Program Entry The assembly language source statement is an extension to the BASIC language used in the 9835A/ B. This means that each assembly language statement is entered using a "keyword" - in this case ISOURCE - as a message to the operating system that the line is an assembly language statement.

By looking at an example, you can see what is meant - 1(:7 L.ET H=H3 20 LET f;:::;20 ?F:IHT fi,B 50 ISGJRCE NO? 60 ISOJRCE END ~x~m~ie Lines 10, 20, 30, and 70, are all recognizable as BASIC statements. The keywords they use - LET, PRINT, and END - direct that certain actions take place. Lines 40, 50, and 60, are all assembly language statements; this was indicated by the ISOURCE keyword used in these lines. Entering assembly language statements, by using the ISOURCE keyword, is thereby the same process as entering other types of BASIC statements. You may use all of the system editing features that you are used to using in the creation of BASIC programs - EDIT, AUTO, etc.

You store each line with the 8 key, as you would any other BASIC line.