ldstop.isa (5965:71f8d7c12619) | ldstop.isa (5969:815827deb469) |
---|---|
1// Copyright (c) 2008 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 388 unchanged lines hidden (view full) --- 397let {{ 398 399 # Make these empty strings so that concatenating onto 400 # them will always work. 401 header_output = "" 402 decoder_output = "" 403 exec_output = "" 404 | 1// Copyright (c) 2008 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 388 unchanged lines hidden (view full) --- 397let {{ 398 399 # Make these empty strings so that concatenating onto 400 # them will always work. 401 header_output = "" 402 decoder_output = "" 403 exec_output = "" 404 |
405 calculateEA = "EA = SegBase + scale * Index + Base + disp;" | 405 calculateEA = ''' 406 EA = bits(SegBase + scale * Index + Base + disp, addressSize * 8 - 1, 0); 407 ''' |
406 407 def defineMicroLoadOp(mnemonic, code, mem_flags="0"): 408 global header_output 409 global decoder_output 410 global exec_output 411 global microopClasses 412 Name = mnemonic 413 name = mnemonic.lower() --- 117 unchanged lines hidden --- | 408 409 def defineMicroLoadOp(mnemonic, code, mem_flags="0"): 410 global header_output 411 global decoder_output 412 global exec_output 413 global microopClasses 414 Name = mnemonic 415 name = mnemonic.lower() --- 117 unchanged lines hidden --- |