mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	a) Automatically generate dependencies for all Makefiles; b) Move register definitions to a separate .dat file; c) Add support for "unimplemented but there in theory" registers.
		
			
				
	
	
		
			21 lines
		
	
	
		
			764 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			764 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* names.c   included source file defining instruction and register
 | |
|  *           names for the Netwide [Dis]Assembler
 | |
|  *
 | |
|  * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
 | |
|  * Julian Hall. All rights reserved. The software is
 | |
|  * redistributable under the licence given in the file "Licence"
 | |
|  * distributed in the NASM archive.
 | |
|  */
 | |
| 
 | |
| static const char *conditions[] = {	       /* condition code names */
 | |
|     "a", "ae", "b", "be", "c", "e", "g", "ge", "l", "le", "na", "nae",
 | |
|     "nb", "nbe", "nc", "ne", "ng", "nge", "nl", "nle", "no", "np",
 | |
|     "ns", "nz", "o", "p", "pe", "po", "s", "z"
 | |
| };
 | |
| 
 | |
| /* Register names automatically generated from regs.dat */
 | |
| #include "regs.c"
 | |
| 
 | |
| /* Instruction names automatically generated from insns.dat */
 | |
| #include "insnsn.c"
 |