This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] MAXQ port binutils-2_15


 <<patch-maxq.tar.gz>> 
Hi,

We at HCL Technologies Pvt. Ltd. Have ported binutils v1.5 for the MAXQ
architechture.

MAXQ is a new high performance RISC architecture from Maxim Integrated
Products & Dallas Semiconductor.
The MAXQ RISC architecture has a new microcontroller core that combines
high performance and low power 
with a variety of complex analog functions.

The MAXQ can be seen as a MOVE driven architecture and the source and
destination operands for the
"MOVE" instruction are the basis for creating instructions and memory
accesses, and triggering hardware 
operations.

	16-bit MAXQ Instruction Word
	FORMAT DESTINATION SOURCE
	  f    ddd dddd    ssss ssss
	  1    Index Mod.  Index Mod.
	  0    Index Mod.  Immediate Data

Initially the MAXQ Arch. has two slightly different versions named
MAXQ10 and MAXQ20. The primary
difference between the MAXQ10 and MAXQ20 options is the standard width
of the working accumulators
 and supporting arithmetic logic unit (ALU).  The MAXQ10 supports 8-bit
(byte-wide) accumulators and 
ALU operations, while the MAXQ20 supports 16-bit (word-wide)
accumulators and ALU operations.

The MAXQ microcontroller uses Peripheral Registers to control and
monitor peripheral 
modules (like General Purpose I/O Module, UART, MAC etc.)

More Information about MAXQ
---------------------------
	--> http://www.maxim-ic.com/MAXQ
	--> http://www.maxim-ic.com.cn/appnotes.cfm/appnote_number/3222
	--> http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4466


About MAXQ binutils v2.15 port
------------------------------


- The binutils contains support for both MAXQ10 and MAXQ20 versions of
MAXQ. 

- Apart from standard MAXQ Arch. binutils support the   MAXQ2000
variant. Which includes support for
  integrated, in-system-programmable flash memory and a   wide range of
peripherals including an LCD
 driver   supporting up  to x4 multiplexed displays. The MAXQ2000   is
ideally suited for battery-powered,
 portable applications such as blood glucose monitoring, medical
instrumentation, environmental data logging, and   industrial control.

Testing binutils for MAXQ
-------------------------

The testcases for the MAXQ arch. has been integrated into the DEJAGNU
Testsuite.
which will be posted later on.


Configuring and Installing
--------------------------

While configuring the binutils source we need to specify the option
'--enable-bfd-assembler'.
Go to the binutils sources and do:

 > configure --enable-bfd-assembler --target=maxq-coff
 > make
 > make install

Inder 


------------------------------------------------------------------------
------------------------------------------------------------------------
--------------------------------------------------------------

2004-11-02  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
	      Vineet Sharma      <vineets@noida.hcltech.com>


    	
        * config,sub : Add new target maxq-coff

     bfd/

        * coff-maxq.c: New File.
        * cpu-maxq.c: New File.
        * archures.c (bfd_maxq_arch): Added.
        * bfd_in2.h (bfd_architecture): Added support for maxq target.
        * coffcode.h: Likewise.
        * config.bfd: Likewise.
        * configure.in (maxqcoff_vec): New target vector.
        * targets.c: Likewise.

     gas/

	* configure.in: Added support for new target maxq-coff.
        
     gas/config/

	* tc-maxq.c: New file.
	* tc-maxq.h: New file.

     ld/

	* Makefile.am (emaxqcoff.o, emaxqcoff.c>: new entries for
maxq-coff target added.
	* Makefile.in: Likewise.
	* emulparams/maxqcoff.sh: New File.
	* scripttempl/maxqcoff.sc: New linker script for target maxq.

     opcode/

	* maxq-dis.c: New file.
	* disassemble.c (ARCH_all): Define ARCH_maxq	
 	  	   	(disassembler): added 'print_insn_maxq_little'
for handling 
			printing for ARCH_maxq.
	* configure.in: Add case for bfd_maxq_arch.
	* configure: Same.

    include/
	
	* coff/maxq.h: New file added.
	* opcodes/maxq.h: New file added.	

------------------------------------------------------------------------
------------------------------------------------------------------------
--------------------------------------------------------------






	Thanks and Best Regards,
	Inderpreet Singh.
	


Attachment: patch-maxq.tar.gz
Description: patch-maxq.tar.gz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]