move.py (7622:b49144029ec8) | move.py (10544:049273bc03f6) |
---|---|
1# Copyright (c) 2007-2008 The Hewlett-Packard Development Company 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 201 unchanged lines hidden (view full) --- 210 rdsel t1, reg 211 st t1, seg, riprel, disp, dataSize=2 212}; 213 214def macroop MOV_REAL_S_R { 215 zexti t2, regm, 15, dataSize=8 216 slli t3, t2, 4, dataSize=8 217 wrsel reg, regm | 1# Copyright (c) 2007-2008 The Hewlett-Packard Development Company 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 201 unchanged lines hidden (view full) --- 210 rdsel t1, reg 211 st t1, seg, riprel, disp, dataSize=2 212}; 213 214def macroop MOV_REAL_S_R { 215 zexti t2, regm, 15, dataSize=8 216 slli t3, t2, 4, dataSize=8 217 wrsel reg, regm |
218 wrbase reg, t3 | 218 wrbase reg, t3, dataSize=8 |
219}; 220 221def macroop MOV_REAL_S_M { 222 ld t1, seg, sib, disp, dataSize=2 223 zexti t2, t1, 15, dataSize=8 224 slli t3, t2, 4, dataSize=8 225 wrsel reg, t1 | 219}; 220 221def macroop MOV_REAL_S_M { 222 ld t1, seg, sib, disp, dataSize=2 223 zexti t2, t1, 15, dataSize=8 224 slli t3, t2, 4, dataSize=8 225 wrsel reg, t1 |
226 wrbase reg, t3 | 226 wrbase reg, t3, dataSize=8 |
227}; 228 229def macroop MOV_REAL_S_P { 230 panic "RIP relative addressing shouldn't happen in real mode" 231}; 232 233def macroop MOV_S_R { 234 andi t0, regm, 0xFC, flags=(EZF,), dataSize=2 --- 143 unchanged lines hidden --- | 227}; 228 229def macroop MOV_REAL_S_P { 230 panic "RIP relative addressing shouldn't happen in real mode" 231}; 232 233def macroop MOV_S_R { 234 andi t0, regm, 0xFC, flags=(EZF,), dataSize=2 --- 143 unchanged lines hidden --- |