Open lab313ru opened 3 years ago
For example:
ram:0502 cd 0e 05 CALL FUN_ram_050e byte FUN_ram_050e(char * param_1) ram:0505 d8 RET C
FUN_ram_050e:
Selection of C as the return value storage doesn't help:
Seems, I can't specify an exact F register bit as the return result.
F
You should specify F register as return value, not C. Here C is a not carry, its a part of BC register.
C
BC
Yes, your FUN_050e will look ugly, but I think it cannot be written in C language correctly.
For example:
FUN_ram_050e:![image](https://user-images.githubusercontent.com/7189309/96385666-0f0dce00-119e-11eb-8827-387396388451.png)
Selection of C as the return value storage doesn't help:![image](https://user-images.githubusercontent.com/7189309/96385654-f1d8ff80-119d-11eb-9a90-c6ec7b97913f.png)
Seems, I can't specify an exact
F
register bit as the return result.