Pioneer LD-V8000 User Manual page 139

Level ii
Hide thumbs Also See for LD-V8000:
Table of Contents

Advertisement

Sample Level II Pogramming Code
Some Necessary Definitions
The Examples in this Appendix were written to help explain how to create Level II programs.
To simplify these examples, they were written in symbolic assembler form. This means that a
program called a symbolic assembler will be necessary to convert any of the examples to
actual code that a Pioneer videodisc player can run. The input to a symbolic assembler is
called the "source code file" and is in a syntax that is easy for a programmer to understand;
the output of an assembler is called the "object code file" and contains the codes the videodisc
player understands.
Symbolic assemblers offer various methods for a programmer to control the process of
converting the symbolic source code file to the final object code file. The following is a
description of the assembler control syntax used in the four examples of this Appendix. The
assembler you use may require different syntax to accomplish the same operations.
RSEQ1$ 20
RSEQ2$ 22
$N 23
$R 2300 2000 1200 1000
RSTS1 EQU 24
RSTS2 EQU 26
$N 27
$R 3057 3050 3010 3001
$ADDR 0
G-2
TP 114 v. 1.1 • 8/92
; Set the value of symbol RSEQ1 to 20
; Set the value of symbol RSEQ2 to 22
; $N sets the assembler's internal register pointer to register 23
; $R loads the data into registers 23, 22, 21, and 20 respectively
; Set the value of symbol RSTS1 to 24
; Set the value of symbol RSTS2 to 26
; $N sets the assembler's internal register pointer to register 27
; $R loads the data into registers 27, 26, 25, and 24 respectively
; Set the assembler's internal program counter to 0, all code
following this statement will be entered into successive locations
in memory.
Sample Flow Chart & Level II Code — Programming
Appendix G

Advertisement

Table of Contents
loading

Table of Contents