This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Enum
M32R
Public Enum
std.coff.IMAGE.REL.M32R
pubconstM32R = enum(u16)
Mitsubishi M32R The following relocation type indicators are defined for the Mitsubishi M32R processors.
pubconstM32R = enum(u16) {
/// The relocation is ignored.ABSOLUTE = 0x0000,
/// The target's 32-bit VA.ADDR32 = 0x0001,
/// The target's 32-bit RVA.ADDR32NB = 0x0002,
/// The target's 24-bit VA.ADDR24 = 0x0003,
/// The target's 16-bit offset from the GP register.GPREL16 = 0x0004,
/// The target's 24-bit offset from the program counter (PC), shifted left by 2 bits and sign-extendedPCREL24 = 0x0005,
/// The target's 16-bit offset from the PC, shifted left by 2 bits and sign-extendedPCREL16 = 0x0006,
/// The target's 8-bit offset from the PC, shifted left by 2 bits and sign-extendedPCREL8 = 0x0007,
/// The 16 MSBs of the target VA.REFHALF = 0x0008,
/// The 16 MSBs of the target VA, adjusted for LSB sign extension./// This is used for the first instruction in a two-instruction sequence that loads a full 32-bit address./// This relocation must be immediately followed by a PAIR relocation whose SymbolTableIndex contains a signed 16-bit displacement that is added to the upper 16 bits that are taken from the location that is being relocated.REFHI = 0x0009,
/// The 16 LSBs of the target VA.REFLO = 0x000A,
/// The relocation must follow the REFHI relocation./// Its SymbolTableIndex contains a displacement and not an index into the symbol table.PAIR = 0x000B,
/// The 16-bit section index of the section that contains the target./// This is used to support debugging information.SECTION = 0x000C,
/// The 32-bit offset of the target from the beginning of its section./// This is used to support debugging information and static thread local storage.SECREL = 0x000D,
/// The CLR token.TOKEN = 0x000E,
_,
}
Mitsubishi M32R The following relocation type indicators are defined for the Mitsubishi M32R processors.