Zur Übersicht - Zurück zur Homepage
Re: call Kategorie: Progr. Assembler, TaskingTools, OS (von Eric  - 25.7.2001 22:21)
Kategorie Progr. Assembler, TaskingTools, OS
I am also trying to call some assembly routine from a C2 program. I"m able to call to routine in segment 3, it executes correctly, but at the RETS instruction the C-Control reboots.
To find out what wrong I"m now trying to disassemble the os.hex file! I use the CrossView debugger supplied on the CD (just read the os.hex file as an image). So far I found a jump table for all VM-codes at address 0x394. For the call function (code 62) the entry is 0x3db6. At this address I see a construction to call the assembly routine. However, how it works I haven"t figured out -yet-. It seems R4 and R5 hold the segment and offset to be called, by pushing these on the stack and performing a RETS instruction, the call is made.


    Antwort schreiben


Antworten:

Re: call (von mafoe"s ghost am 26.7.2001, 21:44)
    Re: call (von Robert am 26.7.2001, 23:52)
        Re: call (von Eric am 27.7.2001, 13:01)
            Re: call (von Robert am 29.7.2001, 12:27)
                Re: call (von Mario Fischer am 10.8.2001, 15:01)
                    Re: call (von André H. am 10.8.2001, 19:17)
                        Re: call (von Mario Fischer am 11.8.2001, 1:07)
                            Re: call (von Robert am 16.8.2001, 0:09)
                Wrong e-mail-address (von André H. am 29.7.2001, 12:51)
            Re: call (von Eric am 27.7.2001, 13:10)
Re: call (von mafoe"s ghost am 26.7.2001, 21:44)
Re: call (von Robert am 26.7.2001, 11:23)

Zum Bezugsartikel