From fcad8da86b3c212f196b1ee0760d9e79cebfdb6a Mon Sep 17 00:00:00 2001 From: Richard Patel Date: Thu, 7 Apr 2022 05:57:45 +0200 Subject: [PATCH] document Python module --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index f406afa..25b218c 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,16 @@ pip install maturin maturin build -m ./disasm-py/Cargo.toml ``` +Install module in dev env + +``` +maturin develop -m ./disasm-py/Cargo.toml +python +>>> import ppc750cl +>>> str(ppc750cl.Ins(addr=0x80006969, code=0x10400420)) +'ps_merge00 f2, f0, f0' +``` + ### Instruction Set For those unfamiliar with PowerPC, here are some basics.