Retargetable Machine RESOURCE Specification
Original Publication Date: 1985-Oct-01
Included in the Prior Art Database: 2005-Feb-19
The method for defining to a compiler the allowed resource (register) usage consists of specifying two parts: -The physical structure of the resource -The allowed logical structuring of the resource The definition of a resource is specified to the compiler using a RESOURCE macro. The physical structure of the resource is specified in the RESOURCE macro using the SUBNAMES keyword which signifies, if used, that this is a resource which is actually composed of other resources. The figure is a simple picture of basic registers in a system having a complex set of register relationships, as viewed by the programmer: These registers may be combined in a number of ways, however, and treated as a single, larger register: 1. The even/odd byte registers (e.g., B0/B1) can be treated as a single halfword register (H0). 2.