ultimatepp/bazaar/XedTest/XedTest.cpp
klugier 756c25a822 Bazaar: Remove using namespace Upp from Xed header.
git-svn-id: svn://ultimatepp.org/upp/trunk@15201 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-10-04 20:11:11 +00:00

13 lines
244 B
C++

#include <Core/Core.h>
#include <Xed/Xed.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
uint8_t buf[15] = {
0xf2, 0x2e, 0x4f, 0x0F, 0x85, 0x99, 0x00, 0x00, 0x00
};
Cout() << "Length = " << XED.InstructionLength(buf) << "\n";
}