bitfields.isa (4541:da1910a0d731) bitfields.isa (4546:71382cde8725)
1// Copyright (c) 2007 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

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

53//
54// Authors: Gabe Black
55
56////////////////////////////////////////////////////////////////////
57//
58// Bitfield definitions.
59//
60
1// Copyright (c) 2007 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

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

53//
54// Authors: Gabe Black
55
56////////////////////////////////////////////////////////////////////
57//
58// Bitfield definitions.
59//
60
61//Prefixes
61//REX prefix
62def bitfield REX rex;
62def bitfield REX rex;
63def bitfield REX_W rex.w;
64def bitfield REX_R rex.r;
65def bitfield REX_X rex.x;
66def bitfield REX_B rex.b;
67
68//Legacy prefixes
63def bitfield LEGACY legacy;
69def bitfield LEGACY legacy;
70def bitfield LEGACY_REPNE legacy.repne;
71def bitfield LEGACY_REP legacy.rep;
72def bitfield LEGACY_LOCK legacy.lock;
73def bitfield LEGACY_ADDR legacy.addr;
74def bitfield LEGACY_OP legacy.op;
75def bitfield LEGACY_SEG legacy.seg;
64
65// Pieces of the opcode
66def bitfield OPCODE_NUM opcode.num;
67def bitfield OPCODE_PREFIXA opcode.prefixA;
68def bitfield OPCODE_PREFIXB opcode.prefixB;
69def bitfield OPCODE_OP opcode.op;
70//The top 5 bits of the opcode tend to split the instructions into groups
71def bitfield OPCODE_OP_TOP5 opcode.op.top5;

--- 19 unchanged lines hidden ---
76
77// Pieces of the opcode
78def bitfield OPCODE_NUM opcode.num;
79def bitfield OPCODE_PREFIXA opcode.prefixA;
80def bitfield OPCODE_PREFIXB opcode.prefixB;
81def bitfield OPCODE_OP opcode.op;
82//The top 5 bits of the opcode tend to split the instructions into groups
83def bitfield OPCODE_OP_TOP5 opcode.op.top5;

--- 19 unchanged lines hidden ---