OpenCores
URL https://opencores.org/ocsvn/ao486/ao486/trunk

Subversion Repositories ao486

[/] [ao486/] [trunk/] [rtl/] [ao486/] [commands/] [CMD_LEA.txt] - Rev 2

Compare with Previous | Blame | View Log


<defines>
`define CMD_LEA         #AUTOGEN_NEXT_CMD
</defines>

<decode>
dec_ready_modregrm_one && decoder[7:0] == 8'h8D
prefix_group_1_lock || `DEC_MODREGRM_IS_MOD_11
`CMD_LEA
SET(consume_modregrm_one);
</decode>

<read>
IF(rd_cmd == `CMD_LEA);
    SET(rd_dst_is_reg);
    
    SET(rd_req_reg);
    
    IF(~(rd_address_effective_ready)); SET(rd_waiting); ENDIF();
ENDIF();
</read>

<execute>
IF(exe_cmd == `CMD_LEA);
    
    SET(exe_result, exe_address_effective);

ENDIF();
</execute>

<write>
IF(wr_cmd == `CMD_LEA);
    SET(write_regrm);
ENDIF();
</write>

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.