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
--- 1014 unchanged lines hidden (view full) ---
1023 DestReg = SegAttrSrc1;
1024 '''
1025
1026 class Rdsel(SegOp):
1027 code = '''
1028 DestReg = SegSelSrc1;
1029 '''
1030
1031 class Chks(RegOp):
1032 def __init__(self, dest, src1, src2=0,
1033 flags=None, dataSize="env.dataSize"):
1034 super(Chks, self).__init__(dest,
1035 src1, src2, flags, dataSize)
1036 code = '''
1037 // The selector is in source 1 and can be at most 16 bits.
1038 SegSelector selector = DestReg;
--- 148 unchanged lines hidden ---
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
--- 1014 unchanged lines hidden (view full) ---
1023 DestReg = SegAttrSrc1;
1024 '''
1025
1026 class Rdsel(SegOp):
1027 code = '''
1028 DestReg = SegSelSrc1;
1029 '''
1030
1031 class Chks(RegOp):
1032 def __init__(self, dest, src1, src2=0,
1033 flags=None, dataSize="env.dataSize"):
1034 super(Chks, self).__init__(dest,
1035 src1, src2, flags, dataSize)
1036 code = '''
1037 // The selector is in source 1 and can be at most 16 bits.
1038 SegSelector selector = DestReg;
--- 148 unchanged lines hidden ---