move.py (5974:9ed073dd5214) move.py (6051:47a52383002b)
1# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

--- 214 unchanged lines hidden (view full) ---

223def macroop MOV_P_S {
224 rdip t7
225 rdsel t1, reg
226 st t1, seg, riprel, disp, dataSize=2
227};
228
229def macroop MOV_REAL_S_R {
230 zexti t2, regm, 15, dataSize=8
1# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

--- 214 unchanged lines hidden (view full) ---

223def macroop MOV_P_S {
224 rdip t7
225 rdsel t1, reg
226 st t1, seg, riprel, disp, dataSize=2
227};
228
229def macroop MOV_REAL_S_R {
230 zexti t2, regm, 15, dataSize=8
231 slli t3, t2, 2, dataSize=8
231 slli t3, t2, 4, dataSize=8
232 wrsel reg, regm
233 wrbase reg, t3
234};
235
236def macroop MOV_REAL_S_M {
237 ld t1, seg, sib, disp, dataSize=2
238 zexti t2, t1, 15, dataSize=8
232 wrsel reg, regm
233 wrbase reg, t3
234};
235
236def macroop MOV_REAL_S_M {
237 ld t1, seg, sib, disp, dataSize=2
238 zexti t2, t1, 15, dataSize=8
239 slli t3, t2, 2, dataSize=8
239 slli t3, t2, 4, dataSize=8
240 wrsel reg, t1
241 wrbase reg, t3
242};
243
244def macroop MOV_REAL_S_P {
245 panic "RIP relative addressing shouldn't happen in real mode"
246};
247

--- 108 unchanged lines hidden ---
240 wrsel reg, t1
241 wrbase reg, t3
242};
243
244def macroop MOV_REAL_S_P {
245 panic "RIP relative addressing shouldn't happen in real mode"
246};
247

--- 108 unchanged lines hidden ---