| ??? 07/16/02 17:12 Read: times |
#25899 - C and Assembly code interfacing |
i am trying to incorporate some Asembly code downloaded from net to my C code. i am using C compiler downloaded from www.raisonance.com (4K free version). problem is how can i pass data values to from C and Assembly code. lets take the code example here
function foo(int a, char b) { ----Some C code here -------- _asm chardata EQU c1 addr_lo EQU r1 addr_hi EQU r2 ----ASM code here--------- _endasm } so now want to transfer int a to addr_lo and addr_hi and character b to assembly variable chardata (by the way did i declare Assembly variables correctly.) Shahzad |
| Topic | Author | Date |
| C and Assembly code interfacing | 01/01/70 00:00 | |
| RE: C and Assembly code interfacing | 01/01/70 00:00 | |
| RE: Erik | 01/01/70 00:00 | |
| RE: Erik | 01/01/70 00:00 | |
| RE: C and Assembly code interfacing | 01/01/70 00:00 | |
| RE: C and Assembly code interfacing | 01/01/70 00:00 | |
| RE: C and Assembly code interfaci | 01/01/70 00:00 | |
| RE: C and Assembly code interfacing | 01/01/70 00:00 | |
RE: C and Assembly code interfacing | 01/01/70 00:00 |



