• Number of machine cycles
    How many machine cycles does the following instructions take. Please provide the reason. MOV TMOD, #01 MOV TL0, #0F2h MOV TH0, #0F2h CPL P1.5
  • LSL instruction (number of clock cycles)
    Hi, Please can you let me know how many clock cycles will the following instruction take in Cortex M3 core? lsl r0, r1, #12 Will this take 12 clock cycles? Thanks very much. Regards...
  • Interrupt Jump to Code
    Hi, I am trying to make a simple main program that waits on an External rising edge interrupt from INTO (P2.10 KEIL 1760). The main code does the configuration for the interrupt then sits in a loop...
  • Interrupt numbering
    I have noticed that the Kiel compiler doesn't produce the correct interrupt vector if 8051 interrupt numbers are used. For example for external interrupt 0 (IE0), the interrupt number has to be 0, instead...
  • Interrupt number for an interrupt subroutine
    Hi, I'm trying to use the interrupt PWMINT for a PWM program with the 167. The problem is I cannot find the correct interrupt number for the function: void Interrupt_func (void) interrupt PWMINT...