+ added DebugWriteHexByte

git-svn-id: branches/wasm@47954 -
This commit is contained in:
nickysn 2021-01-02 07:30:21 +00:00
parent 7221e9fe7f
commit 76a3014e3a

View File

@ -15,6 +15,7 @@ procedure fpc_lib_exit; compilerproc;
procedure DebugWrite(const P: PChar);
procedure DebugWriteChar(Ch: Char);
procedure DebugWriteHexDigit(d: Byte);
procedure DebugWriteHexByte(b: Byte);
implementation
@ -72,6 +73,12 @@ begin
DebugWriteChar(HexDigits[d]);
end;
procedure DebugWriteHexByte(b: Byte);
begin
DebugWriteHexDigit(b shr 4);
DebugWriteHexDigit(b and 15);
end;
procedure fpc_lib_exit; compilerproc;
begin
end;