mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 18:50:25 +02:00
+ added DebugWriteHexByte
git-svn-id: branches/wasm@47954 -
This commit is contained in:
parent
7221e9fe7f
commit
76a3014e3a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user