Changeset 918

Show
Ignore:
Timestamp:
02/19/07 14:12:00 (2 years ago)
Author:
common
Message:

libemu

  • ret, format comments
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libemu/trunk/src/functions/ret.c

    r916 r918  
    99 
    1010int32_t instr_ret_c2(struct emu_cpu *c, struct instruction *i) 
    11 { /* C2 iw RET imm16 Near return to calling procedure and pop imm16 bytes from stack */ 
     11{  
     12        /* C2  
     13         * Near return to calling procedure and pop imm16 bytes from stack 
     14         * iw RET imm16   
     15         */ 
    1216        POP_DWORD(c, &c->eip); 
    1317         
     
    1822 
    1923int32_t instr_ret_c3(struct emu_cpu *c, struct instruction *i) 
    20 { /* C3    RET       Near return to calling procedure */ 
     24{  
     25        /* C3 
     26         * Near return to calling procedure 
     27         * RET         
     28         */ 
    2129        POP_DWORD(c, &c->eip); 
    2230         
     
    2533 
    2634int32_t instr_ret_ca(struct emu_cpu *c, struct instruction *i) 
    27 { /* CA iw RET imm16 Far return to calling procedure and pop imm16 bytes from stack */ 
     35{        
     36        /* CA iw  
     37         * Far return to calling procedure and pop imm16 bytes from stack 
     38         * RET imm16   
     39         */ 
    2840        return -1; 
    2941} 
    3042 
    3143int32_t instr_ret_cb(struct emu_cpu *c, struct instruction *i) 
    32 { /* CB    RET       Far return to calling procedure */ 
     44{  
     45        /* CB 
     46         * Far return to calling procedure 
     47         * RET 
     48         */ 
    3349        return -1; 
    3450}