Skip to main content
Visitor II
November 15, 2006
Question

what is the time taken for executing a single instruction.

  • November 15, 2006
  • 3 replies
  • 720 views
Posted on November 15, 2006 at 12:11

what is the time taken for executing a single instruction.

    This topic has been closed for replies.

    3 replies

    nanuradhaAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:33

    hai,

    what is the time taken for executing a single instruction.

    i mean what is the time for one machine cycle, if processor frequency is 48MHz.

    -=raj=-

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:33

    Hi anuradha,

    the time for one machine cycle is not the same for all instructions it also depends on where you are executing the instruction from flash or SRAM.

    Regards

    Mirou

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:34

    what is the time taken for executing a single instruction.

    It depends on the instruction itself - some execute in one clock cycle, some take longer than that.

    i mean what is the time for one machine cycle, if processor frequency is 48MHz.

    1/48MHz = 20.83333333 ns

    BTW, there was a discussion some time ago about this topic:

    I can't find detailed information about instruction cycle times

    Get this:

    ''ARM System Developer's Guide''

    Designing and Optimizing System Software

    by Andrew Sloss, Dominic Symes, Chris Wright

    ISBN: 1-55860-874-5 , Hardback

    [ This message was edited by: hARMless on 15-11-2006 16:46 ]