I would like to know how is it possible to pass registers as function arguments in C. Let's say I have something like this:
int main() {
register a,b;
a = b;
register c = a;
return 0;
}
I want to extract a = b as a new function. Considering what we do for variables, if I return register "a" as function return I will get this error: "function definition declared 'register'".
Another option is passing arguments as function variables But obviously it is not possible to pass a register az a pointer because they are not memory location to assign them an address. So, I am wondering what would be the correct way to extract "a = b" as a new function?