.area CODE (ABS) .org 0x2000 ldaa #0xaa loop: staa 0xb000 bra loop
You should be able to group things together so you get a timing diagram similar to that attached. Measure the following times, and compare them (where appropriate) to the times in the Motorola M68HC11 E Series Technical Data Manual:
E
clock is high.
E
clock is low.
AS
is high.
E
going low to AS
going high.
*OE
, *WE
, *CS_MEM
and
*CS_PIA
are low.
E
going high to *CS_MEM
going low.
E
going high to *CS_PIA
going low.
AS
going low to
Port C changing from address mode to data mode.
E
clock
going low until Port B puts out a new address.
E
going low to Port C
changing from data to address mode during a write cycle.
*OE
going high to the
RAM chip releasing the data bus.
Note that, because of the clock speed of the logic analyzer, you will not be able to measure very short times.