its running in simulation mode...So you are using masm on a PC?
Is the masm actually executing the code on a chip or is it running in simulation mode?
How do you determine how long is the actual delay?
i dont think that was the mistake... because i came to know that 8086 masm assembler is case insensitiveJust checked my microprocessor textbook (we did intel), CX in 8086 is 16 bits so the largest value you can load in CX is FFFFH.
I think your error is the low case h. I think your code should be:
MOV CX, 0FFFFH
If you knew the clock frequency, could you calculate the delay? Add up the required clock cycle times of all instructions in the loop. Using the frequency, calculate the total time in your loop for one cycle. Divide the total desired delay time by this one cycle time, and that will be the number of times your code must loop. If it's greater than 65536, you will need nested loops.its running in simulation mode...
i am not determining the delay...and i don't even know how to do that, because i don't know the clock frequency...
what all i wanted is.,
my program should pause its execution for a notable time and again start it...
|Thread starter||Similar threads||Forum||Replies||Date|
|I||I need to understand logic diagram of 4-BIT SYNCHRONOUS PARALLEL LOAD SHIFT REGISTER||Homework Help||10|
|How I decide How much value register need in circuit||General Electronics Chat||11|
|Called function with SysTick and Current Value Register?||Microcontrollers||11|
|Modulating PWM into a Shift Register||Digital Design||26|
|Serial input-Parallel output shift register Using logic IC's (74164, counter,...)||Homework Help||12|
|I need to understand logic diagram of 4-BIT SYNCHRONOUS PARALLEL LOAD SHIFT REGISTER|
|How I decide How much value register need in circuit|
|Called function with SysTick and Current Value Register?|
|Modulating PWM into a Shift Register|
|Serial input-Parallel output shift register Using logic IC's (74164, counter,...)|