?? disassembler.3x
字號(hào):
.TH disassembler 3x RISC.SH Namedisassembler \- disassemble a MIPS instruction and print the results.SH Syntax.nf.PPint disassembler (iadr, regstyle, get_symname, get_regvalue, get_bytes, print_header)unsigned iadr;int regstyle;char *(*get_symname)();int (*get_regvalue)();long (*get_bytes)();void (*print_header)();.fi.DT.SH DescriptionThe.B disassemblerfunction disassembles and prints a MIPS machine instruction on .I stdout..PPThe .i iadr argument is the instruction address to be disassembled.The.I regstyleparameter specifies how registers are named in the disassembly.The value is 0 if compiler names are used; otherwise, hardware names are used..PPThe next four arguments are function pointers, most of which give the callersome flexibility in the appearance of the disassembly. The only functionthat must be provided is.I get_bytes.All other functions are optional.The.I get_bytesfunction is called without arguments and returns the next byte or bytes to disassemble..PPThe.I get_symnameis passed an address, which is the target of a.I jalinstruction. If null is returned or if .I get_symnameis null the.I disassemblerprints the address; otherwise,the string name is printed as returned from.I get_symname.If .I get_regvalueis not null, it is passed a register number and returns the current contents of the specified register.The.B disassemblerfunction prints this information along with the instruction disassembly.If .I print_headeris not null, it is passed the instruction address,.I iadr,and the current instruction to be disassembled,which is the return value from.I get_bytes.The .I print_header functioncan use these parameters to print any desired information beforethe actual instruction disassembly is printed..PPIf.I get_bytesis null, the.B disassemblerreturns -1 and errno is set to EINVAL;otherwise, the number of bytes that were disassembled is returned.If the disassembled word is a jump or branch instruction,the instruction in the delay slot is also disassembled..SH See Alsoldfcn(5)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -