Found my first silicon bug
The Lounge
21
Posts
8
Posters
0
Views
1
Watching
-
@Mircea We have some of those boards integrated as part of industrial control systems, anything specific we need to worry about?
No, I don't think so. The only possible damage is to my ego but I'm a big boy and I can take it :laugh: I was programming a particularly tight loop to read from an SPI device and thought I could use
ALTD DJNZ
instruction to shave some cycles and use the alternate B register. It turns out theALTD
prefix in this case is useless as I explained in a previous message. However, an instruction not doing what I expected can hardly be called a bug. No one has yet implemented the RPM (Read Programmer's Mind) instruction. :)Mircea