i currently doing a project on 8051 using ASM langauge
i need to have 2 interrupt where if 1 of the push button is press it will hang and pause and another is a master reset
however i need to map port 1.4,1.5 to int0 to int1 so when the pushbutton is press the program will be interrupt to perform it's service, i know i have to use crossbar but i have no idea on how can i do it.
can you guys help me by showing me an example of how to eqn the port to the int0/1 and how to Initialisate it.Thanks in advance
i need to have 2 interrupt where if 1 of the push button is press it will hang and pause and another is a master reset
however i need to map port 1.4,1.5 to int0 to int1 so when the pushbutton is press the program will be interrupt to perform it's service, i know i have to use crossbar but i have no idea on how can i do it.
can you guys help me by showing me an example of how to eqn the port to the int0/1 and how to Initialisate it.Thanks in advance