llvm-6502/lib/MC
Kevin Enderby 14ccc9007a Added a option to the disassembler to print immediates as hex.
This is for the lldb team so most of but not all of the values are
to be printed as hex with this option.  Some small values like the
scale in an X86 address were requested to printed in decimal
without the leading 0x.

There may be some tweaks need to places that may still be in
decimal that they want in hex.  Specially for arm.  I made my best
guess.  Any tweaks from here should be simple.

I also did the best I know now with help from the C++ gurus
creating the cleanest formatImm() utility function and containing
the changes.  But if someone has a better idea to make something
cleaner I'm all ears and game for changing the implementation.

rdar://8109283



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169393 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-05 18:13:19 +00:00
..
MCDisassembler Added a option to the disassembler to print immediates as hex. 2012-12-05 18:13:19 +00:00
MCParser Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
CMakeLists.txt
ELFObjectWriter.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmStreamer.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCAssembler.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCAtom.cpp
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCDisassembler.cpp
MCDwarf.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCELF.cpp
MCELF.h
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCExpr.cpp This patch introduces initial-exec model support for thread-local storage 2012-12-04 16:18:08 +00:00
MCInst.cpp
MCInstPrinter.cpp Added a option to the disassembler to print immediates as hex. 2012-12-05 18:13:19 +00:00
MCInstrAnalysis.cpp
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCModule.cpp
MCNullStreamer.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCObjectFileInfo.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCObjectStreamer.cpp
MCObjectWriter.cpp
MCPureStreamer.cpp
MCRegisterInfo.cpp
MCSection.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCSubtargetInfo.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCSymbol.cpp
MCTargetAsmLexer.cpp
MCValue.cpp
MCWin64EH.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
WinCOFFStreamer.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00