The specifications for NEC has eight bits of device code followed by eight bits of sub device code followed by the function code followed by the binary inverse of the function code. You've got your items labeled incorrectly. It's not address, inverse address, function, inverse function. It should be address, sub address, function, inverse function. My favorite listing of protocol descriptions is that this site.http://www.hifi-remote.com/johnsfine/DecodeIR.html
The notation is hard to learn but once you understand it it describes what more different protocols than any other reference I've ever seen.