Keil Logo Arm Logo

Discussion Forum

ASM Code

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Mohammed Idrish
Posted
23-Dec-2006 05:57 GMT
Toolset
C51
New! ASM Code

Hi Friends,

I Like to know how to write Interrupt using ASM (SYNTAX of Interrupt in ASM)...

Read-Only
Author
Andy Neil
Posted
23-Dec-2006 09:27 GMT
Toolset
C51
New! RE: ASM Code

The only specific requirement is that it uses RETI to return (not RET).

See also chapter 2 of the so-called "bible" for the 8051:

Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set:
http://www.nxp.com/acrobat_download/various/80C51_FAM_PROG_GUIDE_1.pdf

The 8051 interrupt structure is described in Chapters 1 and 3:

Chapter 1 - 80C51 Family Architecture:
http://www.nxp.com/acrobat_download/various/80C51_FAM_ARCH_1.pdf

Chapter 3 - 80C51 Family Hardware Description:
http://www.nxp.com/acrobat_download/various/80C51_FAM_HARDWARE_1.pdf

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.