Delay of instruction
Page 1 of 1

Author:  sam1991 [ Mon Nov 19, 2012 2:59 pm ]
Post subject:  Delay of instruction

Hi all,
I have a problem about the delay of an instruction
I want it to display a number then clear it about 10 times
when I did that it appeasers to me like just one time I have used the NOP instruction but it didn't help what can I do?

Author:  profkelly [ Mon Nov 19, 2012 3:08 pm ]
Post subject: 

Trap task #23. See Help - Simulator I/O - Text/Time/Terminate

Delay n/100 of a second
Pre: D1.L = n as unsigned number 0 through $FFFFFFFF

For example. the following code will pause the program for 1 second.
    move.b  #23,d0          trap task 23
    move.l  #100,d1         delay amount
    trap    #15

Author:  sam1991 [ Mon Nov 19, 2012 4:50 pm ]
Post subject: 

Thanks prof kelly for your help

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group