Suggestion:
*reg_a = 100;
*reg_b = 125;
result = *reg_c;
if ( result == 225 ) {
    // test passed
} else {
    // test failed
}