11/* *************************** disasm.h **********************************
22* Author: Agner Fog
33* Date created: 2007-02-21
4- * Last modified: 2022-04-25
4+ * Last modified: 2023-03-29
55* Project: objconv
66* Module: disasm.h
77* Description:
88* Header file for disassembler
99*
10- * Copyright 2007-2022 GNU General Public License http://www.gnu.org/licenses
10+ * Copyright 2007-2023 GNU General Public License http://www.gnu.org/licenses
1111*****************************************************************************/
1212#ifndef DISASM_H
1313#define DISASM_H
@@ -738,27 +738,27 @@ class CDisassembler {
738738 int TranslateAbsAddress (int64_t Addr, int32_t &Sect, uint32_t &Offset); // Translate absolute virtual address to section and offset
739739 void WriteFileBegin (); // Write begin of file
740740 void WriteFileBeginMASM (); // Write MASM-specific file init
741- void WriteFileBeginYASM (); // Write YASM -specific file init
741+ void WriteFileBeginNASM (); // Write NASM -specific file init
742742 void WriteFileBeginGASM (); // Write GAS-specific file init
743743 void WriteFileEnd (); // Write end of file
744744 void WriteSegmentBegin (); // Write begin of segment
745745 void WriteSegmentBeginMASM (); // Write begin of segment, MASM syntax
746- void WriteSegmentBeginYASM (); // Write begin of segment, YASM syntax
746+ void WriteSegmentBeginNASM (); // Write begin of segment, NASM syntax
747747 void WriteSegmentBeginGASM (); // Write begin of segment, GAS syntax
748748 void WriteSegmentEnd (); // Write end of segment
749749 void WritePublicsAndExternalsMASM (); // Write public and external symbol definitions, MASM syntax
750- void WritePublicsAndExternalsYASMGASM (); // Write public and external symbol definitions, YASM and GAS syntax
750+ void WritePublicsAndExternalsNASMGASM (); // Write public and external symbol definitions, NASM and GAS syntax
751751 void WriteFunctionBegin (); // Write begin of function
752752 void WriteFunctionBeginMASM (uint32_t symi, uint32_t scope);// Write begin of function, MASM syntax
753- void WriteFunctionBeginYASM (uint32_t symi, uint32_t scope);// Write begin of function, YASM syntax
753+ void WriteFunctionBeginNASM (uint32_t symi, uint32_t scope);// Write begin of function, NASM syntax
754754 void WriteFunctionBeginGASM (uint32_t symi, uint32_t scope);// Write begin of function, GAS syntax
755755 void WriteFunctionEnd (); // Write end of function
756756 void WriteFunctionEndMASM (uint32_t symi); // Write end of function, MASM syntax
757- void WriteFunctionEndYASM (uint32_t symi); // Write end of function, YASM syntax
757+ void WriteFunctionEndNASM (uint32_t symi); // Write end of function, NASM syntax
758758 void WriteFunctionEndGASM (uint32_t symi); // Write end of function, GAS syntax
759759 void WriteCodeLabel (uint32_t symi); // Write private or public code label
760760 void WriteCodeLabelMASM (uint32_t symi, uint32_t scope);// Write private or public code label, MASM syntax
761- void WriteCodeLabelYASM (uint32_t symi, uint32_t scope);// Write private or public code label, MASM syntax
761+ void WriteCodeLabelNASM (uint32_t symi, uint32_t scope);// Write private or public code label, MASM syntax
762762 void WriteCodeLabelGASM (uint32_t symi, uint32_t scope);// Write private or public code label, MASM syntax
763763 int WriteFillers (); // Check if code is a series of NOPs or other fillers. If so then write it as such
764764 void WriteAlign (uint32_t a); // Write alignment directive
@@ -782,17 +782,17 @@ class CDisassembler {
782782 void WriteRelocationTarget (uint32_t irel, uint32_t Context, int64_t Addend);// Write cross reference
783783 void WriteOperandType (uint32_t type); // Write type override before operand, e.g. "dword ptr"
784784 void WriteOperandTypeMASM (uint32_t type); // Write type override before operand, e.g. "dword ptr", MASM syntax
785- void WriteOperandTypeYASM (uint32_t type); // Write type override before operand, e.g. "dword", YASM syntax
785+ void WriteOperandTypeNASM (uint32_t type); // Write type override before operand, e.g. "dword", NASM syntax
786786 void WriteOperandTypeGASM (uint32_t type); // Write type override before operand, e.g. "dword ptr", GAS syntax
787787 void WriteDataItems (); // Write data items
788788 void WriteDataLabelMASM (const char * name, uint32_t sym, int line); // Write label before data item, MASM syntax
789- void WriteDataLabelYASM (const char * name, uint32_t sym, int line); // Write label before data item, YASM syntax
789+ void WriteDataLabelNASM (const char * name, uint32_t sym, int line); // Write label before data item, NASM syntax
790790 void WriteDataLabelGASM (const char * name, uint32_t sym, int line); // Write label before data item, GAS syntax
791791 void WriteUninitDataItemsMASM (uint32_t size, uint32_t count);// Write uninitialized (BSS) data, MASM syntax
792- void WriteUninitDataItemsYASM (uint32_t size, uint32_t count);// Write uninitialized (BSS) data, YASM syntax
792+ void WriteUninitDataItemsNASM (uint32_t size, uint32_t count);// Write uninitialized (BSS) data, NASM syntax
793793 void WriteUninitDataItemsGASM (uint32_t size, uint32_t count);// Write uninitialized (BSS) data, GAS syntax
794794 void WriteDataDirectiveMASM (uint32_t size); // Write DB, etc., MASM syntax
795- void WriteDataDirectiveYASM (uint32_t size); // Write DB, etc., MASM syntax
795+ void WriteDataDirectiveNASM (uint32_t size); // Write DB, etc., MASM syntax
796796 void WriteDataDirectiveGASM (uint32_t size); // Write DB, etc., MASM syntax
797797 void WriteDataComment (uint32_t ElementSize, uint32_t LinePos, uint32_t Pos, uint32_t irel);// Write comment after data item
798798 uint32_t GetDataItemSize (uint32_t Type); // Get size of data item with specified type
0 commit comments