> >My program doesn't do anything fancy, it is probably the longest and most >ineffective routine for multiplying two 1 byte numbers ever written (at >least it is honest work :-)) but it was the only idea I got. I took it as a >lesson in memorizing the instructionset. > >My main problem is that I want to stimulate the input on porta & portb >during simulation, and I can't figure out how! use stimulus file,make a file using wordstar or dos (edit.com ) like this : step Rb7 rb6 rb5 rb4 rb3 rb2 rb1 rb0 fill at what step you want the stimulus content send to portb. Stimulus file extension name must be 'sti' load the stimulus file right after load program file like this : after MPSIM lo (program name) st (stimulus file). Goodluck Hanafi Tan > >===================================================== >Stig Brautaset - sbrautas@c2i.net - ICQ: 11052183 >Student of electronics - http://home.c2i.net/sbrautas >===================================================== >