He told you already, look 4 post above!
There is no PORTA..E on the ARM. That is AVR-code!
As well check for attachInterrupt(), there you are also using the AVR parameters and not the DUE arm way to call it!
Try to make yourself familiar with the different hardware. Spent some time to view over the documentation of the controllers. Review some of the existing libraries, watch there especially the #ifdef-clauses, where things are coded for ARM or AVR.