Intel 8XC196MC User Manual page 193

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
; followed by a short (1 ms) pause, thus generating a MFM waveform.
;
; This program is assembled to run on the MD demo board.
;
;**************************************
; CONSTANT AND VARIABLE DECLARATIONS
;**************************************
; Program equates
; This section defines the constants used by this program.
; They can be changed at assembly time as required.
;**************************************
;
zero_time
zero_pause_time
one_time
one_pause_time
carrier_freq
buf_size
fill_char
;
;**************************************
; SFR equates in a 32-byte window
; This section defines SFR locations as seen through a window
; to allow using compact read-modify-write instructions.
;**************************************
;
p2_mode_w
equ
p2_dir_w
equ
p2_reg_w
equ
p2_pin_w
equ
;
p7_mode_w
equ
p7_dir_w
equ
p7_reg_w
equ
p7_pin_w
equ
;
timer1_w
equ
comp3_con_w
equ
comp3_time_w
equ
;
;**************************************
; Other SFR equates
; This section defines the locations of the frequency generator SFRs.
;**************************************
;
freq_gen
equ
freq_cnt
equ
;
;**************************************
; Variable storage area
; This section defines the variables used by this program.
;**************************************
;
rseg at 30h
;
rism:
dsb
;
rseg at 40h
8-6
equ
1000
equ
zero_time
equ
2000
equ
one_time
equ
25
equ
8
equ
10100011b
0f0H
0F2H
0F4H
0F6H
0f1H
0F3H
0F5H
0F7H
0FAH
0E4H
0E6H
1FB8H
1FBAH
13
Get other manuals https://www.bkmanuals.com
;1 ms
;2 ms
;40 KHz
;size of data buffer (bytes)
;initial data for buffer
;WSR = 7EH
1FD0H
;WSR = 7EH
1FD2H
;WSR = 7EH
1FD4H
;WSR = 7EH
1FD6H
;WSR = 7EH
1FD1H
;WSR = 7EH
1FD3H
;WSR = 7EH
1FD5H
;WSR = 7EH
1FD7H
;WSR = 7BH
1F7AH
;WSR = 7BH
1F64H
;WSR = 7BH
1F66H
;reserved for RISM

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents