I read that instruction set varies from one processor to another. Say for an example, Instruction set in an Intel processor is different from an instruction set of an AMD processor.
But If thats the case, how does device drivers of one hardware, supports multiple processors. As we know that device drivers are programmed in assembly.
Are they programmed using 32 bit instruction set and do all processors have the same 32-bit instruction set?
P.S: 64-bit instruction set varies from one processor to another processor. Only thing iwhich confuses is that do 32-bit instruction set also vary from processor to processor or are they same. If that changes too, there might me some portability issues of hardware, isn't it?