UCULIB Unit Test Plan
UcuMfCpuCcrGetRxx()
(Test Plan Revision:  $Revision: 1.1 $)

Step Number | Test Action | Expected Result | F/P/Remarks

Date(s) Test Performed:  20100214

Performed By:  David T. Ashley

Workproduct:  mfcpuccrgetrxx.s, R1.4

1 | Review the assembly-language source code for logical correctness and completeness of documentation. | Source code correct, documentation complete. | PASS, 20100214.
2 | Using a test project and debugger, verify that the stack pointer is restored to its former value at the time the function exits, and that the function returns to the correct program counter address. | | PASS, 20100214.
3 | Verify that the value loaded into A seems to be the CC register value. | | PASS, 20100214.
4 | Verify that if the result is assigned to a longer data type, the C caller copies the A register [only] to a second variable.  (This verifies that there is not an interface misunderstanding regarding how the value is returned or in the type of the returned value.) | | PASS, 20100214.