iopin_stim.stc

来自「可移植的MicroChip的PIC全系列单片机软件仿真器」· STC 代码 · 共 39 行

STC
39
字号
## iopin_stim.stc - iopin stimulus test with# the c84.## This .stc file defines the processor and the# code but leaves the stimulus definition to# ioport_stim.stc. echo I/O pin Stimulus test with a p16c84echo iopin_stim.hex is the source# Create the processor that's to be simulatedprocessor p16c84 fred# Load the .hex fileload h iopin_stim.hex# Load the stimulus fileload c ioport_stim.stc# If this stimulus file was loaded with iopin_stim.hex# then we can set this (meaningful) break point: Break# after 5 rising edges have been written to port b 0.# Check the assembly code - register 0x20 is used as# a counter to count the rising edges that occur on# port b 0.break wv 0x20 0x05break c 100000echo Breakpoints set by stimulus filebreak

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?