- Dec 9, 2000
- 16,528
- 4
- 0
Let's say I have an infinite loop:
while(1)
{
*(0x8000) = *(0x8000) + 1
}
I have this loop so I can monitor certain parts of the bus of a microprocessor controller system using an oscilloscope to see which pins are high and low. 16 bit address, so obviously at 0x8000 the only pin active is A15 (A0...A15 = 16 bit address). Now, one of the questions I have to answer is why A15 goes low and A1 and OE are accessed? I say it's because of the arithmetic, there are some registers being accessed...?
while(1)
{
*(0x8000) = *(0x8000) + 1
}
I have this loop so I can monitor certain parts of the bus of a microprocessor controller system using an oscilloscope to see which pins are high and low. 16 bit address, so obviously at 0x8000 the only pin active is A15 (A0...A15 = 16 bit address). Now, one of the questions I have to answer is why A15 goes low and A1 and OE are accessed? I say it's because of the arithmetic, there are some registers being accessed...?
