Timers | Toggling in 8051 every 1 second using timer delay

Toggle pin P1.5 on the 8051 microcontroller using timer in both assembly language and in embedded c.