asm/AJRegister.st
changeset 23 d2d9a2d4d6bf
parent 4 f2d0d2859193
equal deleted inserted replaced
22:9ee423bb2e37 23:d2d9a2d4d6bf
       
     1 "
       
     2     Copyright (c) 2012-2016 Igor Stasenko
       
     3                             Martin McClure
       
     4                             Damien Pollet
       
     5                             Camillo Bruni
       
     6                             Guido Chari
       
     7                    2016-now Jan Vrany <jan.vrany [at] fit . cvut . cz>
       
     8 
       
     9     Permission is hereby granted, free of charge, to any person obtaining a copy
       
    10     of this software and associated documentation files (the 'Software'), to deal
       
    11     in the Software without restriction, including without limitation the rights
       
    12     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
       
    13     copies of the Software, and to permit persons to whom the Software is
       
    14     furnished to do so, subject to the following conditions:
       
    15 
       
    16     The above copyright notice and this permission notice shall be included in all
       
    17     copies or substantial portions of the Software.
       
    18 
       
    19     THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
       
    20     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
       
    21     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
       
    22     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
       
    23     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
       
    24     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
       
    25     SOFTWARE.
       
    26 "
     1 "{ Package: 'jv:dragonfly/asm' }"
    27 "{ Package: 'jv:dragonfly/asm' }"
     2 
    28 
     3 "{ NameSpace: Smalltalk }"
    29 "{ NameSpace: Smalltalk }"
     4 
    30 
     5 AJBaseReg subclass:#AJRegister
    31 AJBaseReg subclass:#AJRegister
     9 	category:'AsmJit-Operands'
    35 	category:'AsmJit-Operands'
    10 !
    36 !
    11 
    37 
    12 AJRegister comment:'I am an abstract superclass for the standard x86 registers.'
    38 AJRegister comment:'I am an abstract superclass for the standard x86 registers.'
    13 !
    39 !
       
    40 
       
    41 !AJRegister class methodsFor:'documentation'!
       
    42 
       
    43 copyright
       
    44 "
       
    45     Copyright (c) 2012-2016 Igor Stasenko
       
    46                             Martin McClure
       
    47                             Damien Pollet
       
    48                             Camillo Bruni
       
    49                             Guido Chari
       
    50                    2016-now Jan Vrany <jan.vrany [at] fit . cvut . cz>
       
    51 
       
    52     Permission is hereby granted, free of charge, to any person obtaining a copy
       
    53     of this software and associated documentation files (the 'Software'), to deal
       
    54     in the Software without restriction, including without limitation the rights
       
    55     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
       
    56     copies of the Software, and to permit persons to whom the Software is
       
    57     furnished to do so, subject to the following conditions:
       
    58 
       
    59     The above copyright notice and this permission notice shall be included in all
       
    60     copies or substantial portions of the Software.
       
    61 
       
    62     THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
       
    63     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
       
    64     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
       
    65     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
       
    66     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
       
    67     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
       
    68     SOFTWARE.
       
    69 
       
    70 "
       
    71 ! !
    14 
    72 
    15 !AJRegister methodsFor:'accessing'!
    73 !AJRegister methodsFor:'accessing'!
    16 
    74 
    17 code: aCode
    75 code: aCode
    18     code := aCode.
    76     code := aCode.