From 936a8f5549a4cb2be9d143b03ed7f7097fb1af05 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 17 Sep 1997 23:55:26 +0000 Subject: Added support for ctoff() reloc prefix. --- gas/doc/c-v850.texi | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'gas/doc') diff --git a/gas/doc/c-v850.texi b/gas/doc/c-v850.texi index b17fc36..06919ff 100644 --- a/gas/doc/c-v850.texi +++ b/gas/doc/c-v850.texi @@ -358,10 +358,25 @@ that the label is somewhere within the first 32K of memory. (Strictly speaking it also possible to access the last 32K of memory as well, as the offsets are signed). +@c start-santize-v850e +@cindex @code{ctoff} pseudo-op, V850 +@item ctoff() +Computes the offset of the named variable from the start of the Call +Table Area (whoes address is helg in system register 20, the CTBP +register) and stores the result a 6 or 16 bit unsigned value in the +immediate field of then given instruction or piece of data. For +example: + + @samp{callt ctoff(table_func1)} + +will put the call the function whoes address is held in the call table +at the location labeled 'table_func1'. +@c end-santize-v850e + @end table -For information on the V850 or Thumb instruction sets, see @cite{V850 +For information on the V850 instruction set, see @cite{V850 Family 32-/16-Bit single-Chip Microcontroller Architecture Manual} from NEC. Ltd. -- cgit v1.1