diff options
author | johannst <johannst@users.noreply.github.com> | 2024-12-11 21:52:27 +0000 |
---|---|---|
committer | johannst <johannst@users.noreply.github.com> | 2024-12-11 21:52:27 +0000 |
commit | 9ebb4b9d82decbd9e8ea901e6d240e1af9f190b3 (patch) | |
tree | 8b1d383541206f421dbda40059de33b6d2a2a121 | |
parent | 56ffb6a3bc7d8951a0c9f06b02b13ae9c070eced (diff) | |
download | juicebox-asm-9ebb4b9d82decbd9e8ea901e6d240e1af9f190b3.tar.gz juicebox-asm-9ebb4b9d82decbd9e8ea901e6d240e1af9f190b3.zip |
deploy: aedbcbf6c8e45367364a852d5b10d45b27b61c44
41 files changed, 344 insertions, 90 deletions
diff --git a/bf/index.html b/bf/index.html index 05273e9..e0a73bd 100644 --- a/bf/index.html +++ b/bf/index.html @@ -1,4 +1,4 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Brainfuck VM."><title>bf - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="bf" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../bf/index.html">bf</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>bf</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/bf/bf.rs.html#1-292">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Brainfuck VM.</p> +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Brainfuck VM."><title>bf - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="bf" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../bf/index.html">bf</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>bf</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/bf/bf.rs.html#1-335">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Brainfuck VM.</p> <p>This example implements a simple <a href="https://en.wikipedia.org/wiki/Brainfuck">brainfuck</a> interpreter [<code>BrainfuckInterp</code>] and a jit compiler [<code>BrainfuckJit</code>].</p> @@ -1,2 +1,2 @@ -window.ALL_CRATES = ["add","bf","fib","juicebox_asm","tiny_vm"]; -//{"start":21,"fragment_lengths":[5,5,6,15,10]}
\ No newline at end of file +window.ALL_CRATES = ["add","bf","fib","gen","juicebox_asm","tiny_vm"]; +//{"start":21,"fragment_lengths":[5,5,6,6,15,10]}
\ No newline at end of file diff --git a/gen/all.html b/gen/all.html new file mode 100644 index 0000000..1e0c258 --- /dev/null +++ b/gen/all.html @@ -0,0 +1 @@ +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><title>List of all items in this crate</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="gen" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../gen/index.html">gen</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><h1>List of all items</h1></section></div></main></body></html>
\ No newline at end of file diff --git a/gen/index.html b/gen/index.html new file mode 100644 index 0000000..df51ecc --- /dev/null +++ b/gen/index.html @@ -0,0 +1,4 @@ +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Add example."><title>gen - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="gen" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../gen/index.html">gen</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>gen</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/gen/gen.rs.html#1-45">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Add example.</p> +<p>Jit compile a function at runtime (generate native host code) which calls a function defined in +the example based on the SystemV abi to demonstrate the <a href="../juicebox_asm/index.html" title="mod juicebox_asm"><code>juicebox_asm</code></a> crate.</p> +</div></details></section></div></main></body></html>
\ No newline at end of file diff --git a/gen/sidebar-items.js b/gen/sidebar-items.js new file mode 100644 index 0000000..5244ce0 --- /dev/null +++ b/gen/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {};
\ No newline at end of file @@ -1 +1 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Documentation for Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="./static.files/${f}">`).join(""))</script><link rel="stylesheet" href="./static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="./static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="tiny_vm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="./static.files/storage-1d39b6787ed640ff.js"></script><script defer src="./static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="./static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="./static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.83.0</span></h2></div><div class="version">(90b35a623 2024-11-26)</div><h2 class="location">Help</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc help</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section><p>You need to enable JavaScript to use keyboard commands or search.</p><p>For more information, browse the <a href="https://doc.rust-lang.org/rustdoc/">rustdoc handbook</a>.</p></section></noscript></section></div></main></body></html>
\ No newline at end of file +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Documentation for Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="./static.files/${f}">`).join(""))</script><link rel="stylesheet" href="./static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="./static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="bf" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="./static.files/storage-1d39b6787ed640ff.js"></script><script defer src="./static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="./static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="./static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.83.0</span></h2></div><div class="version">(90b35a623 2024-11-26)</div><h2 class="location">Help</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc help</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section><p>You need to enable JavaScript to use keyboard commands or search.</p><p>For more information, browse the <a href="https://doc.rust-lang.org/rustdoc/">rustdoc handbook</a>.</p></section></noscript></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/all.html b/juicebox_asm/all.html index 8d73603..33ad1d4 100644 --- a/juicebox_asm/all.html +++ b/juicebox_asm/all.html @@ -1 +1 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><title>List of all items in this crate</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><h1>List of all items</h1><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="struct.Asm.html">Asm</a></li><li><a href="struct.Imm16.html">Imm16</a></li><li><a href="struct.Imm32.html">Imm32</a></li><li><a href="struct.Imm64.html">Imm64</a></li><li><a href="struct.Imm8.html">Imm8</a></li><li><a href="struct.Label.html">Label</a></li><li><a href="struct.MemOp16.html">MemOp16</a></li><li><a href="struct.MemOp32.html">MemOp32</a></li><li><a href="struct.MemOp64.html">MemOp64</a></li><li><a href="struct.MemOp8.html">MemOp8</a></li><li><a href="struct.Runtime.html">Runtime</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="enum.MemOp.html">MemOp</a></li><li><a href="enum.Reg16.html">Reg16</a></li><li><a href="enum.Reg32.html">Reg32</a></li><li><a href="enum.Reg64.html">Reg64</a></li><li><a href="enum.Reg8.html">Reg8</a></li></ul><h3 id="traits">Traits</h3><ul class="all-items"><li><a href="insn/trait.Add.html">insn::Add</a></li><li><a href="insn/trait.Call.html">insn::Call</a></li><li><a href="insn/trait.Cmovnz.html">insn::Cmovnz</a></li><li><a href="insn/trait.Cmovz.html">insn::Cmovz</a></li><li><a href="insn/trait.Cmp.html">insn::Cmp</a></li><li><a href="insn/trait.Dec.html">insn::Dec</a></li><li><a href="insn/trait.Inc.html">insn::Inc</a></li><li><a href="insn/trait.Jmp.html">insn::Jmp</a></li><li><a href="insn/trait.Jnz.html">insn::Jnz</a></li><li><a href="insn/trait.Jz.html">insn::Jz</a></li><li><a href="insn/trait.Mov.html">insn::Mov</a></li><li><a href="insn/trait.Pop.html">insn::Pop</a></li><li><a href="insn/trait.Push.html">insn::Push</a></li><li><a href="insn/trait.Test.html">insn::Test</a></li><li><a href="insn/trait.Xor.html">insn::Xor</a></li></ul></section></div></main></body></html>
\ No newline at end of file +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><title>List of all items in this crate</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><h1>List of all items</h1><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="struct.Asm.html">Asm</a></li><li><a href="struct.Imm16.html">Imm16</a></li><li><a href="struct.Imm32.html">Imm32</a></li><li><a href="struct.Imm64.html">Imm64</a></li><li><a href="struct.Imm8.html">Imm8</a></li><li><a href="struct.Label.html">Label</a></li><li><a href="struct.MemOp16.html">MemOp16</a></li><li><a href="struct.MemOp32.html">MemOp32</a></li><li><a href="struct.MemOp64.html">MemOp64</a></li><li><a href="struct.MemOp8.html">MemOp8</a></li><li><a href="struct.Runtime.html">Runtime</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="enum.MemOp.html">MemOp</a></li><li><a href="enum.Reg16.html">Reg16</a></li><li><a href="enum.Reg32.html">Reg32</a></li><li><a href="enum.Reg64.html">Reg64</a></li><li><a href="enum.Reg8.html">Reg8</a></li></ul><h3 id="traits">Traits</h3><ul class="all-items"><li><a href="insn/trait.Add.html">insn::Add</a></li><li><a href="insn/trait.Call.html">insn::Call</a></li><li><a href="insn/trait.Cmovnz.html">insn::Cmovnz</a></li><li><a href="insn/trait.Cmovz.html">insn::Cmovz</a></li><li><a href="insn/trait.Cmp.html">insn::Cmp</a></li><li><a href="insn/trait.Dec.html">insn::Dec</a></li><li><a href="insn/trait.Inc.html">insn::Inc</a></li><li><a href="insn/trait.Jmp.html">insn::Jmp</a></li><li><a href="insn/trait.Jnz.html">insn::Jnz</a></li><li><a href="insn/trait.Jz.html">insn::Jz</a></li><li><a href="insn/trait.Mov.html">insn::Mov</a></li><li><a href="insn/trait.Pop.html">insn::Pop</a></li><li><a href="insn/trait.Push.html">insn::Push</a></li><li><a href="insn/trait.Sub.html">insn::Sub</a></li><li><a href="insn/trait.Test.html">insn::Test</a></li><li><a href="insn/trait.Xor.html">insn::Xor</a></li></ul></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/enum.MemOp.html b/juicebox_asm/enum.MemOp.html index 1a413d6..9f6bc5f 100644 --- a/juicebox_asm/enum.MemOp.html +++ b/juicebox_asm/enum.MemOp.html @@ -1,4 +1,4 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Type representing a memory operand."><title>MemOp in juicebox_asm - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc enum"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">MemOp</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Indirect" title="Indirect">Indirect</a></li><li><a href="#variant.IndirectBaseIndex" title="IndirectBaseIndex">IndirectBaseIndex</a></li><li><a href="#variant.IndirectDisp" title="IndirectDisp">IndirectDisp</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" title="Add<MemOp, Imm16>">Add<MemOp, Imm16></a></li><li><a href="#impl-Add%3CMemOp,+Reg16%3E-for-Asm" title="Add<MemOp, Reg16>">Add<MemOp, Reg16></a></li><li><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" title="Add<MemOp, Reg64>">Add<MemOp, Reg64></a></li><li><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" title="Add<Reg64, MemOp>">Add<Reg64, MemOp></a></li><li><a href="#impl-Clone-for-MemOp" title="Clone">Clone</a></li><li><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" title="Cmp<MemOp, Imm16>">Cmp<MemOp, Imm16></a></li><li><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" title="Cmp<MemOp, Imm8>">Cmp<MemOp, Imm8></a></li><li><a href="#impl-Copy-for-MemOp" title="Copy">Copy</a></li><li><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" title="Mov<MemOp, Imm16>">Mov<MemOp, Imm16></a></li><li><a href="#impl-Mov%3CMemOp,+Reg16%3E-for-Asm" title="Mov<MemOp, Reg16>">Mov<MemOp, Reg16></a></li><li><a href="#impl-Mov%3CMemOp,+Reg32%3E-for-Asm" title="Mov<MemOp, Reg32>">Mov<MemOp, Reg32></a></li><li><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" title="Mov<MemOp, Reg64>">Mov<MemOp, Reg64></a></li><li><a href="#impl-Mov%3CMemOp,+Reg8%3E-for-Asm" title="Mov<MemOp, Reg8>">Mov<MemOp, Reg8></a></li><li><a href="#impl-Mov%3CReg16,+MemOp%3E-for-Asm" title="Mov<Reg16, MemOp>">Mov<Reg16, MemOp></a></li><li><a href="#impl-Mov%3CReg32,+MemOp%3E-for-Asm" title="Mov<Reg32, MemOp>">Mov<Reg32, MemOp></a></li><li><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" title="Mov<Reg64, MemOp>">Mov<Reg64, MemOp></a></li><li><a href="#impl-Mov%3CReg8,+MemOp%3E-for-Asm" title="Mov<Reg8, MemOp>">Mov<Reg8, MemOp></a></li><li><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" title="Test<MemOp, Imm16>">Test<MemOp, Imm16></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-MemOp" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-MemOp" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-MemOp" title="Send">Send</a></li><li><a href="#impl-Sync-for-MemOp" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-MemOp" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-MemOp" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate juicebox_<wbr>asm</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">juicebox_asm</a></span><h1>Enum <span class="enum">MemOp</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/juicebox_asm/lib.rs.html#92-101">source</a> </span></div><pre class="rust item-decl"><code>pub enum MemOp { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Type representing a memory operand."><title>MemOp in juicebox_asm - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc enum"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">MemOp</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Indirect" title="Indirect">Indirect</a></li><li><a href="#variant.IndirectBaseIndex" title="IndirectBaseIndex">IndirectBaseIndex</a></li><li><a href="#variant.IndirectDisp" title="IndirectDisp">IndirectDisp</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" title="Add<MemOp, Imm16>">Add<MemOp, Imm16></a></li><li><a href="#impl-Add%3CMemOp,+Imm8%3E-for-Asm" title="Add<MemOp, Imm8>">Add<MemOp, Imm8></a></li><li><a href="#impl-Add%3CMemOp,+Reg16%3E-for-Asm" title="Add<MemOp, Reg16>">Add<MemOp, Reg16></a></li><li><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" title="Add<MemOp, Reg64>">Add<MemOp, Reg64></a></li><li><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" title="Add<Reg64, MemOp>">Add<Reg64, MemOp></a></li><li><a href="#impl-Clone-for-MemOp" title="Clone">Clone</a></li><li><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" title="Cmp<MemOp, Imm16>">Cmp<MemOp, Imm16></a></li><li><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" title="Cmp<MemOp, Imm8>">Cmp<MemOp, Imm8></a></li><li><a href="#impl-Copy-for-MemOp" title="Copy">Copy</a></li><li><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" title="Mov<MemOp, Imm16>">Mov<MemOp, Imm16></a></li><li><a href="#impl-Mov%3CMemOp,+Reg16%3E-for-Asm" title="Mov<MemOp, Reg16>">Mov<MemOp, Reg16></a></li><li><a href="#impl-Mov%3CMemOp,+Reg32%3E-for-Asm" title="Mov<MemOp, Reg32>">Mov<MemOp, Reg32></a></li><li><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" title="Mov<MemOp, Reg64>">Mov<MemOp, Reg64></a></li><li><a href="#impl-Mov%3CMemOp,+Reg8%3E-for-Asm" title="Mov<MemOp, Reg8>">Mov<MemOp, Reg8></a></li><li><a href="#impl-Mov%3CReg16,+MemOp%3E-for-Asm" title="Mov<Reg16, MemOp>">Mov<Reg16, MemOp></a></li><li><a href="#impl-Mov%3CReg32,+MemOp%3E-for-Asm" title="Mov<Reg32, MemOp>">Mov<Reg32, MemOp></a></li><li><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" title="Mov<Reg64, MemOp>">Mov<Reg64, MemOp></a></li><li><a href="#impl-Mov%3CReg8,+MemOp%3E-for-Asm" title="Mov<Reg8, MemOp>">Mov<Reg8, MemOp></a></li><li><a href="#impl-Sub%3CMemOp,+Imm8%3E-for-Asm" title="Sub<MemOp, Imm8>">Sub<MemOp, Imm8></a></li><li><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" title="Test<MemOp, Imm16>">Test<MemOp, Imm16></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-MemOp" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-MemOp" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-MemOp" title="Send">Send</a></li><li><a href="#impl-Sync-for-MemOp" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-MemOp" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-MemOp" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate juicebox_<wbr>asm</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">juicebox_asm</a></span><h1>Enum <span class="enum">MemOp</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/juicebox_asm/lib.rs.html#92-101">source</a> </span></div><pre class="rust item-decl"><code>pub enum MemOp { Indirect(<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>), IndirectDisp(<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i32.html">i32</a>), IndirectBaseIndex(<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>), @@ -6,7 +6,7 @@ </div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Indirect" class="variant"><a href="#variant.Indirect" class="anchor">§</a><h3 class="code-header">Indirect(<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h3></section><div class="docblock"><p>An indirect memory operand, eg <code>mov [rax], rcx</code>.</p> </div><section id="variant.IndirectDisp" class="variant"><a href="#variant.IndirectDisp" class="anchor">§</a><h3 class="code-header">IndirectDisp(<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i32.html">i32</a>)</h3></section><div class="docblock"><p>An indirect memory operand with additional displacement, eg <code>mov [rax + 0x10], rcx</code>.</p> </div><section id="variant.IndirectBaseIndex" class="variant"><a href="#variant.IndirectBaseIndex" class="anchor">§</a><h3 class="code-header">IndirectBaseIndex(<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h3></section><div class="docblock"><p>An indirect memory operand in the form base + index, eg <code>mov [rax + rcx], rdx</code>.</p> -</div></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#28-32">source</a><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#29-31">source</a><a href="#method.add-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#22-26">source</a><a href="#impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#23-25">source</a><a href="#method.add-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#16-20">source</a><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#17-19">source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#34-38">source</a><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#35-37">source</a><a href="#method.add-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-MemOp" class="impl"><a class="src rightside" href="../src/juicebox_asm/lib.rs.html#91">source</a><a href="#impl-Clone-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/lib.rs.html#91">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.83.0/src/core/clone.rs.html#174">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#10-14">source</a><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#11-13">source</a><a href="#method.cmp-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#4-8">source</a><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#5-7">source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#110-114">source</a><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-8" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#111-113">source</a><a href="#method.mov-8" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#44-48">source</a><a href="#impl-Mov%3CMemOp,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#45-47">source</a><a href="#method.mov-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#38-42">source</a><a href="#impl-Mov%3CMemOp,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#39-41">source</a><a href="#method.mov-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#32-36">source</a><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#33-35">source</a><a href="#method.mov" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#50-54">source</a><a href="#impl-Mov%3CMemOp,+Reg8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#51-53">source</a><a href="#method.mov-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg16,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#70-74">source</a><a href="#impl-Mov%3CReg16,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-6" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#71-73">source</a><a href="#method.mov-6" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg32,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#64-68">source</a><a href="#impl-Mov%3CReg32,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-5" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#65-67">source</a><a href="#method.mov-5" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#58-62">source</a><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-4" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#59-61">source</a><a href="#method.mov-4" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg8,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#76-80">source</a><a href="#impl-Mov%3CReg8,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-7" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#77-79">source</a><a href="#method.mov-7" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#16-20">source</a><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#17-19">source</a><a href="#method.test" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details><section id="impl-Copy-for-MemOp" class="impl"><a class="src rightside" href="../src/juicebox_asm/lib.rs.html#91">source</a><a href="#impl-Copy-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-MemOp" class="impl"><a href="#impl-Freeze-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section><section id="impl-RefUnwindSafe-for-MemOp" class="impl"><a href="#impl-RefUnwindSafe-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section><section id="impl-Send-for-MemOp" class="impl"><a href="#impl-Send-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section><section id="impl-Sync-for-MemOp" class="impl"><a href="#impl-Sync-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section><section id="impl-Unpin-for-MemOp" class="impl"><a href="#impl-Unpin-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section><section id="impl-UnwindSafe-for-MemOp" class="impl"><a href="#impl-UnwindSafe-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where +</div></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#34-38">source</a><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#35-37">source</a><a href="#method.add-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#28-32">source</a><a href="#impl-Add%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#29-31">source</a><a href="#method.add-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#22-26">source</a><a href="#impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#23-25">source</a><a href="#method.add-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#16-20">source</a><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#17-19">source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#40-44">source</a><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-4" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#41-43">source</a><a href="#method.add-4" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-MemOp" class="impl"><a class="src rightside" href="../src/juicebox_asm/lib.rs.html#91">source</a><a href="#impl-Clone-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/lib.rs.html#91">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.83.0/src/core/clone.rs.html#174">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#10-14">source</a><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#11-13">source</a><a href="#method.cmp-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#4-8">source</a><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#5-7">source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#110-114">source</a><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-8" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#111-113">source</a><a href="#method.mov-8" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#44-48">source</a><a href="#impl-Mov%3CMemOp,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#45-47">source</a><a href="#method.mov-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#38-42">source</a><a href="#impl-Mov%3CMemOp,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#39-41">source</a><a href="#method.mov-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#32-36">source</a><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#33-35">source</a><a href="#method.mov" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#50-54">source</a><a href="#impl-Mov%3CMemOp,+Reg8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#51-53">source</a><a href="#method.mov-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg16,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#70-74">source</a><a href="#impl-Mov%3CReg16,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-6" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#71-73">source</a><a href="#method.mov-6" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg32,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#64-68">source</a><a href="#impl-Mov%3CReg32,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-5" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#65-67">source</a><a href="#method.mov-5" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#58-62">source</a><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-4" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#59-61">source</a><a href="#method.mov-4" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg8,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#76-80">source</a><a href="#impl-Mov%3CReg8,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-7" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#77-79">source</a><a href="#method.mov-7" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/sub.rs.html#10-14">source</a><a href="#impl-Sub%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Sub.html" title="trait juicebox_asm::insn::Sub">Sub</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/sub.rs.html#11-13">source</a><a href="#method.sub" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Sub.html#tymethod.sub" class="fn">sub</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit an sub instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#16-20">source</a><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#17-19">source</a><a href="#method.test" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details><section id="impl-Copy-for-MemOp" class="impl"><a class="src rightside" href="../src/juicebox_asm/lib.rs.html#91">source</a><a href="#impl-Copy-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-MemOp" class="impl"><a href="#impl-Freeze-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section><section id="impl-RefUnwindSafe-for-MemOp" class="impl"><a href="#impl-RefUnwindSafe-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section><section id="impl-Send-for-MemOp" class="impl"><a href="#impl-Send-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section><section id="impl-Sync-for-MemOp" class="impl"><a href="#impl-Sync-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section><section id="impl-Unpin-for-MemOp" class="impl"><a href="#impl-Unpin-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section><section id="impl-UnwindSafe-for-MemOp" class="impl"><a href="#impl-UnwindSafe-for-MemOp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#139">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.83.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#209">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#211">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#217">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#218">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/clone.rs.html#273">source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where diff --git a/juicebox_asm/enum.Reg64.html b/juicebox_asm/enum.Reg64.html index af6ed81..137f8ea 100644 --- a/juicebox_asm/enum.Reg64.html +++ b/juicebox_asm/enum.Reg64.html @@ -1,4 +1,4 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Definition of 64 bit registers."><title>Reg64 in juicebox_asm - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc enum"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Reg64</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.r10" title="r10">r10</a></li><li><a href="#variant.r11" title="r11">r11</a></li><li><a href="#variant.r12" title="r12">r12</a></li><li><a href="#variant.r13" title="r13">r13</a></li><li><a href="#variant.r14" title="r14">r14</a></li><li><a href="#variant.r15" title="r15">r15</a></li><li><a href="#variant.r8" title="r8">r8</a></li><li><a href="#variant.r9" title="r9">r9</a></li><li><a href="#variant.rax" title="rax">rax</a></li><li><a href="#variant.rbp" title="rbp">rbp</a></li><li><a href="#variant.rbx" title="rbx">rbx</a></li><li><a href="#variant.rcx" title="rcx">rcx</a></li><li><a href="#variant.rdi" title="rdi">rdi</a></li><li><a href="#variant.rdx" title="rdx">rdx</a></li><li><a href="#variant.rsi" title="rsi">rsi</a></li><li><a href="#variant.rsp" title="rsp">rsp</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" title="Add<MemOp, Reg64>">Add<MemOp, Reg64></a></li><li><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" title="Add<Reg64, MemOp>">Add<Reg64, MemOp></a></li><li><a href="#impl-Add%3CReg64,+Reg64%3E-for-Asm" title="Add<Reg64, Reg64>">Add<Reg64, Reg64></a></li><li><a href="#impl-Call%3CReg64%3E-for-Asm" title="Call<Reg64>">Call<Reg64></a></li><li><a href="#impl-Clone-for-Reg64" title="Clone">Clone</a></li><li><a href="#impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" title="Cmovnz<Reg64, Reg64>">Cmovnz<Reg64, Reg64></a></li><li><a href="#impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" title="Cmovz<Reg64, Reg64>">Cmovz<Reg64, Reg64></a></li><li><a href="#impl-Copy-for-Reg64" title="Copy">Copy</a></li><li><a href="#impl-Dec%3CReg64%3E-for-Asm" title="Dec<Reg64>">Dec<Reg64></a></li><li><a href="#impl-Inc%3CReg64%3E-for-Asm" title="Inc<Reg64>">Inc<Reg64></a></li><li><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" title="Mov<MemOp, Reg64>">Mov<MemOp, Reg64></a></li><li><a href="#impl-Mov%3CReg64,+Imm64%3E-for-Asm" title="Mov<Reg64, Imm64>">Mov<Reg64, Imm64></a></li><li><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" title="Mov<Reg64, MemOp>">Mov<Reg64, MemOp></a></li><li><a href="#impl-Mov%3CReg64,+Reg64%3E-for-Asm" title="Mov<Reg64, Reg64>">Mov<Reg64, Reg64></a></li><li><a href="#impl-Pop%3CReg64%3E-for-Asm" title="Pop<Reg64>">Pop<Reg64></a></li><li><a href="#impl-Push%3CReg64%3E-for-Asm" title="Push<Reg64>">Push<Reg64></a></li><li><a href="#impl-Test%3CReg64,+Reg64%3E-for-Asm" title="Test<Reg64, Reg64>">Test<Reg64, Reg64></a></li><li><a href="#impl-Xor%3CReg64,+Reg64%3E-for-Asm" title="Xor<Reg64, Reg64>">Xor<Reg64, Reg64></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Reg64" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Reg64" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Reg64" title="Send">Send</a></li><li><a href="#impl-Sync-for-Reg64" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Reg64" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Reg64" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate juicebox_<wbr>asm</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">juicebox_asm</a></span><h1>Enum <span class="enum">Reg64</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/juicebox_asm/reg.rs.html#78-80">source</a> </span></div><pre class="rust item-decl"><code><div class="code-attribute">#[repr(u8)]</div>pub enum Reg64 { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Definition of 64 bit registers."><title>Reg64 in juicebox_asm - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc enum"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Reg64</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.r10" title="r10">r10</a></li><li><a href="#variant.r11" title="r11">r11</a></li><li><a href="#variant.r12" title="r12">r12</a></li><li><a href="#variant.r13" title="r13">r13</a></li><li><a href="#variant.r14" title="r14">r14</a></li><li><a href="#variant.r15" title="r15">r15</a></li><li><a href="#variant.r8" title="r8">r8</a></li><li><a href="#variant.r9" title="r9">r9</a></li><li><a href="#variant.rax" title="rax">rax</a></li><li><a href="#variant.rbp" title="rbp">rbp</a></li><li><a href="#variant.rbx" title="rbx">rbx</a></li><li><a href="#variant.rcx" title="rcx">rcx</a></li><li><a href="#variant.rdi" title="rdi">rdi</a></li><li><a href="#variant.rdx" title="rdx">rdx</a></li><li><a href="#variant.rsi" title="rsi">rsi</a></li><li><a href="#variant.rsp" title="rsp">rsp</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" title="Add<MemOp, Reg64>">Add<MemOp, Reg64></a></li><li><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" title="Add<Reg64, MemOp>">Add<Reg64, MemOp></a></li><li><a href="#impl-Add%3CReg64,+Reg64%3E-for-Asm" title="Add<Reg64, Reg64>">Add<Reg64, Reg64></a></li><li><a href="#impl-Call%3CReg64%3E-for-Asm" title="Call<Reg64>">Call<Reg64></a></li><li><a href="#impl-Clone-for-Reg64" title="Clone">Clone</a></li><li><a href="#impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" title="Cmovnz<Reg64, Reg64>">Cmovnz<Reg64, Reg64></a></li><li><a href="#impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" title="Cmovz<Reg64, Reg64>">Cmovz<Reg64, Reg64></a></li><li><a href="#impl-Copy-for-Reg64" title="Copy">Copy</a></li><li><a href="#impl-Dec%3CReg64%3E-for-Asm" title="Dec<Reg64>">Dec<Reg64></a></li><li><a href="#impl-Inc%3CReg64%3E-for-Asm" title="Inc<Reg64>">Inc<Reg64></a></li><li><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" title="Mov<MemOp, Reg64>">Mov<MemOp, Reg64></a></li><li><a href="#impl-Mov%3CReg64,+Imm64%3E-for-Asm" title="Mov<Reg64, Imm64>">Mov<Reg64, Imm64></a></li><li><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" title="Mov<Reg64, MemOp>">Mov<Reg64, MemOp></a></li><li><a href="#impl-Mov%3CReg64,+Reg64%3E-for-Asm" title="Mov<Reg64, Reg64>">Mov<Reg64, Reg64></a></li><li><a href="#impl-Pop%3CReg64%3E-for-Asm" title="Pop<Reg64>">Pop<Reg64></a></li><li><a href="#impl-Push%3CReg64%3E-for-Asm" title="Push<Reg64>">Push<Reg64></a></li><li><a href="#impl-Sub%3CReg64,+Reg64%3E-for-Asm" title="Sub<Reg64, Reg64>">Sub<Reg64, Reg64></a></li><li><a href="#impl-Test%3CReg64,+Reg64%3E-for-Asm" title="Test<Reg64, Reg64>">Test<Reg64, Reg64></a></li><li><a href="#impl-Xor%3CReg64,+Reg64%3E-for-Asm" title="Xor<Reg64, Reg64>">Xor<Reg64, Reg64></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Reg64" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Reg64" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Reg64" title="Send">Send</a></li><li><a href="#impl-Sync-for-Reg64" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Reg64" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Reg64" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate juicebox_<wbr>asm</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">juicebox_asm</a></span><h1>Enum <span class="enum">Reg64</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/juicebox_asm/reg.rs.html#78-80">source</a> </span></div><pre class="rust item-decl"><code><div class="code-attribute">#[repr(u8)]</div>pub enum Reg64 { <details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 16 variants</span></summary> rax = 0, rcx = 1, rdx = 2, @@ -16,7 +16,7 @@ r14 = 14, r15 = 15, </details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Definition of 64 bit registers.</p> -</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.rax" class="variant"><a href="#variant.rax" class="anchor">§</a><h3 class="code-header">rax = 0</h3></section><section id="variant.rcx" class="variant"><a href="#variant.rcx" class="anchor">§</a><h3 class="code-header">rcx = 1</h3></section><section id="variant.rdx" class="variant"><a href="#variant.rdx" class="anchor">§</a><h3 class="code-header">rdx = 2</h3></section><section id="variant.rbx" class="variant"><a href="#variant.rbx" class="anchor">§</a><h3 class="code-header">rbx = 3</h3></section><section id="variant.rsp" class="variant"><a href="#variant.rsp" class="anchor">§</a><h3 class="code-header">rsp = 4</h3></section><section id="variant.rbp" class="variant"><a href="#variant.rbp" class="anchor">§</a><h3 class="code-header">rbp = 5</h3></section><section id="variant.rsi" class="variant"><a href="#variant.rsi" class="anchor">§</a><h3 class="code-header">rsi = 6</h3></section><section id="variant.rdi" class="variant"><a href="#variant.rdi" class="anchor">§</a><h3 class="code-header">rdi = 7</h3></section><section id="variant.r8" class="variant"><a href="#variant.r8" class="anchor">§</a><h3 class="code-header">r8 = 8</h3></section><section id="variant.r9" class="variant"><a href="#variant.r9" class="anchor">§</a><h3 class="code-header">r9 = 9</h3></section><section id="variant.r10" class="variant"><a href="#variant.r10" class="anchor">§</a><h3 class="code-header">r10 = 10</h3></section><section id="variant.r11" class="variant"><a href="#variant.r11" class="anchor">§</a><h3 class="code-header">r11 = 11</h3></section><section id="variant.r12" class="variant"><a href="#variant.r12" class="anchor">§</a><h3 class="code-header">r12 = 12</h3></section><section id="variant.r13" class="variant"><a href="#variant.r13" class="anchor">§</a><h3 class="code-header">r13 = 13</h3></section><section id="variant.r14" class="variant"><a href="#variant.r14" class="anchor">§</a><h3 class="code-header">r14 = 14</h3></section><section id="variant.r15" class="variant"><a href="#variant.r15" class="anchor">§</a><h3 class="code-header">r15 = 15</h3></section></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#16-20">source</a><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#17-19">source</a><a href="#method.add-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#34-38">source</a><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#35-37">source</a><a href="#method.add-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#4-8">source</a><a href="#impl-Add%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#5-7">source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Call%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/call.rs.html#4-8">source</a><a href="#impl-Call%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Call.html" title="trait juicebox_asm::insn::Call">Call</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.call" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/call.rs.html#5-7">source</a><a href="#method.call" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Call.html#tymethod.call" class="fn">call</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a call instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Reg64" class="impl"><a class="src rightside" href="../src/juicebox_asm/reg.rs.html#78-80">source</a><a href="#impl-Clone-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/reg.rs.html#78-80">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.83.0/src/core/clone.rs.html#174">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovnz.rs.html#4-8">source</a><a href="#impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmovnz.html" title="trait juicebox_asm::insn::Cmovnz">Cmovnz</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmovnz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovnz.rs.html#5-7">source</a><a href="#method.cmovnz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmovnz.html#tymethod.cmovnz" class="fn">cmovnz</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a (conditional) move if not zero instruction. <a href="insn/trait.Cmovnz.html#tymethod.cmovnz">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovz.rs.html#4-8">source</a><a href="#impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmovz.html" title="trait juicebox_asm::insn::Cmovz">Cmovz</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmovz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovz.rs.html#5-7">source</a><a href="#method.cmovz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmovz.html#tymethod.cmovz" class="fn">cmovz</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a (conditional) move if zero instruction. <a href="insn/trait.Cmovz.html#tymethod.cmovz">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#4-8">source</a><a href="#impl-Dec%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#5-7">source</a><a href="#method.dec" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#4-8">source</a><a href="#impl-Inc%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#5-7">source</a><a href="#method.inc" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#32-36">source</a><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#33-35">source</a><a href="#method.mov-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+Imm64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#84-88">source</a><a href="#impl-Mov%3CReg64,+Imm64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="struct" href="struct.Imm64.html" title="struct juicebox_asm::Imm64">Imm64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#85-87">source</a><a href="#method.mov-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="struct" href="struct.Imm64.html" title="struct juicebox_asm::Imm64">Imm64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#58-62">source</a><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#59-61">source</a><a href="#method.mov-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#6-10">source</a><a href="#impl-Mov%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#7-9">source</a><a href="#method.mov" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Pop%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#4-8">source</a><a href="#impl-Pop%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Pop.html" title="trait juicebox_asm::insn::Pop">Pop</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pop" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#5-7">source</a><a href="#method.pop" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Pop.html#tymethod.pop" class="fn">pop</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a pop instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Push%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#4-8">source</a><a href="#impl-Push%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Push.html" title="trait juicebox_asm::insn::Push">Push</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.push" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#5-7">source</a><a href="#method.push" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Push.html#tymethod.push" class="fn">push</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a push instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#4-8">source</a><a href="#impl-Test%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#5-7">source</a><a href="#method.test" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Xor%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/xor.rs.html#4-8">source</a><a href="#impl-Xor%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Xor.html" title="trait juicebox_asm::insn::Xor">Xor</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.xor" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/xor.rs.html#5-7">source</a><a href="#method.xor" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Xor.html#tymethod.xor" class="fn">xor</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a xor instruction.</div></details></div></details><section id="impl-Copy-for-Reg64" class="impl"><a class="src rightside" href="../src/juicebox_asm/reg.rs.html#78-80">source</a><a href="#impl-Copy-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Reg64" class="impl"><a href="#impl-Freeze-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section><section id="impl-RefUnwindSafe-for-Reg64" class="impl"><a href="#impl-RefUnwindSafe-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section><section id="impl-Send-for-Reg64" class="impl"><a href="#impl-Send-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section><section id="impl-Sync-for-Reg64" class="impl"><a href="#impl-Sync-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section><section id="impl-Unpin-for-Reg64" class="impl"><a href="#impl-Unpin-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section><section id="impl-UnwindSafe-for-Reg64" class="impl"><a href="#impl-UnwindSafe-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where +</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.rax" class="variant"><a href="#variant.rax" class="anchor">§</a><h3 class="code-header">rax = 0</h3></section><section id="variant.rcx" class="variant"><a href="#variant.rcx" class="anchor">§</a><h3 class="code-header">rcx = 1</h3></section><section id="variant.rdx" class="variant"><a href="#variant.rdx" class="anchor">§</a><h3 class="code-header">rdx = 2</h3></section><section id="variant.rbx" class="variant"><a href="#variant.rbx" class="anchor">§</a><h3 class="code-header">rbx = 3</h3></section><section id="variant.rsp" class="variant"><a href="#variant.rsp" class="anchor">§</a><h3 class="code-header">rsp = 4</h3></section><section id="variant.rbp" class="variant"><a href="#variant.rbp" class="anchor">§</a><h3 class="code-header">rbp = 5</h3></section><section id="variant.rsi" class="variant"><a href="#variant.rsi" class="anchor">§</a><h3 class="code-header">rsi = 6</h3></section><section id="variant.rdi" class="variant"><a href="#variant.rdi" class="anchor">§</a><h3 class="code-header">rdi = 7</h3></section><section id="variant.r8" class="variant"><a href="#variant.r8" class="anchor">§</a><h3 class="code-header">r8 = 8</h3></section><section id="variant.r9" class="variant"><a href="#variant.r9" class="anchor">§</a><h3 class="code-header">r9 = 9</h3></section><section id="variant.r10" class="variant"><a href="#variant.r10" class="anchor">§</a><h3 class="code-header">r10 = 10</h3></section><section id="variant.r11" class="variant"><a href="#variant.r11" class="anchor">§</a><h3 class="code-header">r11 = 11</h3></section><section id="variant.r12" class="variant"><a href="#variant.r12" class="anchor">§</a><h3 class="code-header">r12 = 12</h3></section><section id="variant.r13" class="variant"><a href="#variant.r13" class="anchor">§</a><h3 class="code-header">r13 = 13</h3></section><section id="variant.r14" class="variant"><a href="#variant.r14" class="anchor">§</a><h3 class="code-header">r14 = 14</h3></section><section id="variant.r15" class="variant"><a href="#variant.r15" class="anchor">§</a><h3 class="code-header">r15 = 15</h3></section></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#16-20">source</a><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#17-19">source</a><a href="#method.add-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#40-44">source</a><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#41-43">source</a><a href="#method.add-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#4-8">source</a><a href="#impl-Add%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#5-7">source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Call%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/call.rs.html#4-8">source</a><a href="#impl-Call%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Call.html" title="trait juicebox_asm::insn::Call">Call</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.call" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/call.rs.html#5-7">source</a><a href="#method.call" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Call.html#tymethod.call" class="fn">call</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a call instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Reg64" class="impl"><a class="src rightside" href="../src/juicebox_asm/reg.rs.html#78-80">source</a><a href="#impl-Clone-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/reg.rs.html#78-80">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.83.0/src/core/clone.rs.html#174">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.83.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovnz.rs.html#4-8">source</a><a href="#impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmovnz.html" title="trait juicebox_asm::insn::Cmovnz">Cmovnz</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmovnz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovnz.rs.html#5-7">source</a><a href="#method.cmovnz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmovnz.html#tymethod.cmovnz" class="fn">cmovnz</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a (conditional) move if not zero instruction. <a href="insn/trait.Cmovnz.html#tymethod.cmovnz">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovz.rs.html#4-8">source</a><a href="#impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmovz.html" title="trait juicebox_asm::insn::Cmovz">Cmovz</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmovz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovz.rs.html#5-7">source</a><a href="#method.cmovz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmovz.html#tymethod.cmovz" class="fn">cmovz</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a (conditional) move if zero instruction. <a href="insn/trait.Cmovz.html#tymethod.cmovz">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#4-8">source</a><a href="#impl-Dec%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#5-7">source</a><a href="#method.dec" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#4-8">source</a><a href="#impl-Inc%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#5-7">source</a><a href="#method.inc" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#32-36">source</a><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#33-35">source</a><a href="#method.mov-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+Imm64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#84-88">source</a><a href="#impl-Mov%3CReg64,+Imm64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="struct" href="struct.Imm64.html" title="struct juicebox_asm::Imm64">Imm64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#85-87">source</a><a href="#method.mov-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="struct" href="struct.Imm64.html" title="struct juicebox_asm::Imm64">Imm64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#58-62">source</a><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#59-61">source</a><a href="#method.mov-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#6-10">source</a><a href="#impl-Mov%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#7-9">source</a><a href="#method.mov" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Pop%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#4-8">source</a><a href="#impl-Pop%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Pop.html" title="trait juicebox_asm::insn::Pop">Pop</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pop" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#5-7">source</a><a href="#method.pop" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Pop.html#tymethod.pop" class="fn">pop</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a pop instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Push%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#4-8">source</a><a href="#impl-Push%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Push.html" title="trait juicebox_asm::insn::Push">Push</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.push" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#5-7">source</a><a href="#method.push" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Push.html#tymethod.push" class="fn">push</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a push instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/sub.rs.html#4-8">source</a><a href="#impl-Sub%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Sub.html" title="trait juicebox_asm::insn::Sub">Sub</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/sub.rs.html#5-7">source</a><a href="#method.sub" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Sub.html#tymethod.sub" class="fn">sub</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an sub instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#4-8">source</a><a href="#impl-Test%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#5-7">source</a><a href="#method.test" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Xor%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/xor.rs.html#4-8">source</a><a href="#impl-Xor%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Xor.html" title="trait juicebox_asm::insn::Xor">Xor</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.xor" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/xor.rs.html#5-7">source</a><a href="#method.xor" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Xor.html#tymethod.xor" class="fn">xor</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a xor instruction.</div></details></div></details><section id="impl-Copy-for-Reg64" class="impl"><a class="src rightside" href="../src/juicebox_asm/reg.rs.html#78-80">source</a><a href="#impl-Copy-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Reg64" class="impl"><a href="#impl-Freeze-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section><section id="impl-RefUnwindSafe-for-Reg64" class="impl"><a href="#impl-RefUnwindSafe-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section><section id="impl-Send-for-Reg64" class="impl"><a href="#impl-Send-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section><section id="impl-Sync-for-Reg64" class="impl"><a href="#impl-Sync-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section><section id="impl-Unpin-for-Reg64" class="impl"><a href="#impl-Unpin-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section><section id="impl-UnwindSafe-for-Reg64" class="impl"><a href="#impl-UnwindSafe-for-Reg64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#139">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.83.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#209">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#211">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#217">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#218">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/clone.rs.html#273">source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where diff --git a/juicebox_asm/insn/index.html b/juicebox_asm/insn/index.html index db96659..fde3f9e 100644 --- a/juicebox_asm/insn/index.html +++ b/juicebox_asm/insn/index.html @@ -1,2 +1,2 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait definitions of various instructions."><title>juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module insn</a></h2><h3><a href="#traits">Module Items</a></h3><ul class="block"><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate juicebox_<wbr>asm</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a></span><h1>Module <span>insn</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#1-119">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait definitions of various instructions.</p> -</div></details><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/add"><code>add</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Call.html" title="trait juicebox_asm::insn::Call">Call</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/call"><code>call</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Cmovnz.html" title="trait juicebox_asm::insn::Cmovnz">Cmovnz</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/cmovcc"><code>cmovnz</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Cmovz.html" title="trait juicebox_asm::insn::Cmovz">Cmovz</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/cmovcc"><code>cmovz</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/cmp"><code>cmp</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/dec"><code>dec</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/inc"><code>inc</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Jmp.html" title="trait juicebox_asm::insn::Jmp">Jmp</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/jmp"><code>jmp</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Jnz.html" title="trait juicebox_asm::insn::Jnz">Jnz</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/jcc"><code>jnz</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Jz.html" title="trait juicebox_asm::insn::Jz">Jz</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/jcc"><code>jz</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/mov"><code>mov</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Pop.html" title="trait juicebox_asm::insn::Pop">Pop</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/pop"><code>pop</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Push.html" title="trait juicebox_asm::insn::Push">Push</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/push"><code>push</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/test"><code>test</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Xor.html" title="trait juicebox_asm::insn::Xor">Xor</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/xor"><code>xor</code></a> instruction kinds.</div></li></ul></section></div></main></body></html>
\ No newline at end of file +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait definitions of various instructions."><title>juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module insn</a></h2><h3><a href="#traits">Module Items</a></h3><ul class="block"><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate juicebox_<wbr>asm</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a></span><h1>Module <span>insn</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#1-126">source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait definitions of various instructions.</p> +</div></details><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/add"><code>add</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Call.html" title="trait juicebox_asm::insn::Call">Call</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/call"><code>call</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Cmovnz.html" title="trait juicebox_asm::insn::Cmovnz">Cmovnz</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/cmovcc"><code>cmovnz</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Cmovz.html" title="trait juicebox_asm::insn::Cmovz">Cmovz</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/cmovcc"><code>cmovz</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/cmp"><code>cmp</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/dec"><code>dec</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/inc"><code>inc</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Jmp.html" title="trait juicebox_asm::insn::Jmp">Jmp</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/jmp"><code>jmp</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Jnz.html" title="trait juicebox_asm::insn::Jnz">Jnz</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/jcc"><code>jnz</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Jz.html" title="trait juicebox_asm::insn::Jz">Jz</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/jcc"><code>jz</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/mov"><code>mov</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Pop.html" title="trait juicebox_asm::insn::Pop">Pop</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/pop"><code>pop</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Push.html" title="trait juicebox_asm::insn::Push">Push</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/push"><code>push</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Sub.html" title="trait juicebox_asm::insn::Sub">Sub</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/sub"><code>sub</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/test"><code>test</code></a> instruction kinds.</div></li><li><div class="item-name"><a class="trait" href="trait.Xor.html" title="trait juicebox_asm::insn::Xor">Xor</a></div><div class="desc docblock-short">Trait for <a href="https://www.felixcloutier.com/x86/xor"><code>xor</code></a> instruction kinds.</div></li></ul></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/sidebar-items.js b/juicebox_asm/insn/sidebar-items.js index 19a48ac..d803043 100644 --- a/juicebox_asm/insn/sidebar-items.js +++ b/juicebox_asm/insn/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"trait":["Add","Call","Cmovnz","Cmovz","Cmp","Dec","Inc","Jmp","Jnz","Jz","Mov","Pop","Push","Test","Xor"]};
\ No newline at end of file +window.SIDEBAR_ITEMS = {"trait":["Add","Call","Cmovnz","Cmovz","Cmp","Dec","Inc","Jmp","Jnz","Jz","Mov","Pop","Push","Sub","Test","Xor"]};
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Add.html b/juicebox_asm/insn/trait.Add.html index 54795b8..a7fc8e3 100644 --- a/juicebox_asm/insn/trait.Add.html +++ b/juicebox_asm/insn/trait.Add.html @@ -1,6 +1,6 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `add` instruction kinds."><title>Add in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Add</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.add" title="add">add</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Add</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#22-25">source</a> </span></div><pre class="rust item-decl"><code>pub trait Add<T, U> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `add` instruction kinds."><title>Add in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Add</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.add" title="add">add</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Add</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#23-26">source</a> </span></div><pre class="rust item-decl"><code>pub trait Add<T, U> { // Required method fn <a href="#tymethod.add" class="fn">add</a>(&mut self, op1: T, op2: U); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/add"><code>add</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.add" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#24">source</a><h4 class="code-header">fn <a href="#tymethod.add" class="fn">add</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit an add instruction.</p> -</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#22-26">source</a><a href="#impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="../enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#16-20">source</a><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#28-32">source</a><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="../struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Add%3CReg32,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#10-14">source</a><a href="#impl-Add%3CReg32,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Add%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#34-38">source</a><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Add%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#4-8">source</a><a href="#impl-Add%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Add.js" async></script></section></div></main></body></html>
\ No newline at end of file +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.add" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#25">source</a><h4 class="code-header">fn <a href="#tymethod.add" class="fn">add</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit an add instruction.</p> +</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#22-26">source</a><a href="#impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="../enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#16-20">source</a><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Add%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#28-32">source</a><a href="#impl-Add%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="../struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#34-38">source</a><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="../struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Add%3CReg32,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#10-14">source</a><a href="#impl-Add%3CReg32,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Add%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#40-44">source</a><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Add%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/add.rs.html#4-8">source</a><a href="#impl-Add%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Add.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Call.html b/juicebox_asm/insn/trait.Call.html index f3fb14f..f5ec17e 100644 --- a/juicebox_asm/insn/trait.Call.html +++ b/juicebox_asm/insn/trait.Call.html @@ -1,6 +1,6 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `call` instruction kinds."><title>Call in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Call</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.call" title="call">call</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Call</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#28-31">source</a> </span></div><pre class="rust item-decl"><code>pub trait Call<T> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `call` instruction kinds."><title>Call in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Call</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.call" title="call">call</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Call</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#29-32">source</a> </span></div><pre class="rust item-decl"><code>pub trait Call<T> { // Required method fn <a href="#tymethod.call" class="fn">call</a>(&mut self, op1: T); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/call"><code>call</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.call" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#30">source</a><h4 class="code-header">fn <a href="#tymethod.call" class="fn">call</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a call instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.call" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#31">source</a><h4 class="code-header">fn <a href="#tymethod.call" class="fn">call</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a call instruction.</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Call%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/call.rs.html#4-8">source</a><a href="#impl-Call%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Call.html" title="trait juicebox_asm::insn::Call">Call</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Call.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Cmovnz.html b/juicebox_asm/insn/trait.Cmovnz.html index d68cab8..b11f5ba 100644 --- a/juicebox_asm/insn/trait.Cmovnz.html +++ b/juicebox_asm/insn/trait.Cmovnz.html @@ -1,7 +1,7 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `cmovnz` instruction kinds."><title>Cmovnz in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Cmovnz</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.cmovnz" title="cmovnz">cmovnz</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Cmovnz</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#34-39">source</a> </span></div><pre class="rust item-decl"><code>pub trait Cmovnz<T, U> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `cmovnz` instruction kinds."><title>Cmovnz in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Cmovnz</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.cmovnz" title="cmovnz">cmovnz</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Cmovnz</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#35-40">source</a> </span></div><pre class="rust item-decl"><code>pub trait Cmovnz<T, U> { // Required method fn <a href="#tymethod.cmovnz" class="fn">cmovnz</a>(&mut self, op1: T, op2: U); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/cmovcc"><code>cmovnz</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.cmovnz" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#38">source</a><h4 class="code-header">fn <a href="#tymethod.cmovnz" class="fn">cmovnz</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit a (conditional) move if not zero instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.cmovnz" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#39">source</a><h4 class="code-header">fn <a href="#tymethod.cmovnz" class="fn">cmovnz</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit a (conditional) move if not zero instruction.</p> <p>Move is only commited if (ZF=0).</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/cmovnz.rs.html#4-8">source</a><a href="#impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Cmovnz.html" title="trait juicebox_asm::insn::Cmovnz">Cmovnz</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Cmovnz.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Cmovz.html b/juicebox_asm/insn/trait.Cmovz.html index d3c8ac0..10383c4 100644 --- a/juicebox_asm/insn/trait.Cmovz.html +++ b/juicebox_asm/insn/trait.Cmovz.html @@ -1,7 +1,7 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `cmovz` instruction kinds."><title>Cmovz in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Cmovz</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.cmovz" title="cmovz">cmovz</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Cmovz</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#42-47">source</a> </span></div><pre class="rust item-decl"><code>pub trait Cmovz<T, U> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `cmovz` instruction kinds."><title>Cmovz in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Cmovz</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.cmovz" title="cmovz">cmovz</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Cmovz</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#43-48">source</a> </span></div><pre class="rust item-decl"><code>pub trait Cmovz<T, U> { // Required method fn <a href="#tymethod.cmovz" class="fn">cmovz</a>(&mut self, op1: T, op2: U); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/cmovcc"><code>cmovz</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.cmovz" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#46">source</a><h4 class="code-header">fn <a href="#tymethod.cmovz" class="fn">cmovz</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit a (conditional) move if zero instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.cmovz" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#47">source</a><h4 class="code-header">fn <a href="#tymethod.cmovz" class="fn">cmovz</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit a (conditional) move if zero instruction.</p> <p>Move is only commited if (ZF=1).</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/cmovz.rs.html#4-8">source</a><a href="#impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Cmovz.html" title="trait juicebox_asm::insn::Cmovz">Cmovz</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Cmovz.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Cmp.html b/juicebox_asm/insn/trait.Cmp.html index 340ac50..dae9656 100644 --- a/juicebox_asm/insn/trait.Cmp.html +++ b/juicebox_asm/insn/trait.Cmp.html @@ -1,8 +1,8 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `cmp` instruction kinds."><title>Cmp in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Cmp</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.cmp" title="cmp">cmp</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Cmp</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#50-56">source</a> </span></div><pre class="rust item-decl"><code>pub trait Cmp<T, U> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `cmp` instruction kinds."><title>Cmp in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Cmp</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.cmp" title="cmp">cmp</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Cmp</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#51-57">source</a> </span></div><pre class="rust item-decl"><code>pub trait Cmp<T, U> { // Required method fn <a href="#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: T, op2: U); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/cmp"><code>cmp</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.cmp" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#55">source</a><h4 class="code-header">fn <a href="#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit a compare instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.cmp" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#56">source</a><h4 class="code-header">fn <a href="#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit a compare instruction.</p> <p>Computes <code>op2 - op1</code> and sets the status flags in the same way as the <code>sub</code> instruction, the result is discarded.</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/cmp.rs.html#4-8">source</a><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="../struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/cmp.rs.html#10-14">source</a><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="../struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Cmp.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Dec.html b/juicebox_asm/insn/trait.Dec.html index 7d35a8d..dce0e58 100644 --- a/juicebox_asm/insn/trait.Dec.html +++ b/juicebox_asm/insn/trait.Dec.html @@ -1,6 +1,6 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `dec` instruction kinds."><title>Dec in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Dec</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.dec" title="dec">dec</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Dec</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#59-62">source</a> </span></div><pre class="rust item-decl"><code>pub trait Dec<T> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `dec` instruction kinds."><title>Dec in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Dec</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.dec" title="dec">dec</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Dec</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#60-63">source</a> </span></div><pre class="rust item-decl"><code>pub trait Dec<T> { // Required method fn <a href="#tymethod.dec" class="fn">dec</a>(&mut self, op1: T); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/dec"><code>dec</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.dec" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#61">source</a><h4 class="code-header">fn <a href="#tymethod.dec" class="fn">dec</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a decrement instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.dec" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#62">source</a><h4 class="code-header">fn <a href="#tymethod.dec" class="fn">dec</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a decrement instruction.</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Dec%3CReg32%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/dec.rs.html#10-14">source</a><a href="#impl-Dec%3CReg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Dec%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/dec.rs.html#4-8">source</a><a href="#impl-Dec%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Dec%3CMemOp8%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/dec.rs.html#16-20">source</a><a href="#impl-Dec%3CMemOp8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="../struct.MemOp8.html" title="struct juicebox_asm::MemOp8">MemOp8</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Dec%3CMemOp16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/dec.rs.html#22-26">source</a><a href="#impl-Dec%3CMemOp16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="../struct.MemOp16.html" title="struct juicebox_asm::MemOp16">MemOp16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Dec%3CMemOp32%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/dec.rs.html#28-32">source</a><a href="#impl-Dec%3CMemOp32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="../struct.MemOp32.html" title="struct juicebox_asm::MemOp32">MemOp32</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Dec%3CMemOp64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/dec.rs.html#34-38">source</a><a href="#impl-Dec%3CMemOp64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="../struct.MemOp64.html" title="struct juicebox_asm::MemOp64">MemOp64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Dec.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Inc.html b/juicebox_asm/insn/trait.Inc.html index df8af09..46bc9aa 100644 --- a/juicebox_asm/insn/trait.Inc.html +++ b/juicebox_asm/insn/trait.Inc.html @@ -1,6 +1,6 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `inc` instruction kinds."><title>Inc in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Inc</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.inc" title="inc">inc</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Inc</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#65-68">source</a> </span></div><pre class="rust item-decl"><code>pub trait Inc<T> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `inc` instruction kinds."><title>Inc in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Inc</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.inc" title="inc">inc</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Inc</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#66-69">source</a> </span></div><pre class="rust item-decl"><code>pub trait Inc<T> { // Required method fn <a href="#tymethod.inc" class="fn">inc</a>(&mut self, op1: T); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/inc"><code>inc</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.inc" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#67">source</a><h4 class="code-header">fn <a href="#tymethod.inc" class="fn">inc</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a increment instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.inc" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#68">source</a><h4 class="code-header">fn <a href="#tymethod.inc" class="fn">inc</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a increment instruction.</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Inc%3CReg32%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/inc.rs.html#10-14">source</a><a href="#impl-Inc%3CReg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Inc%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/inc.rs.html#4-8">source</a><a href="#impl-Inc%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Inc%3CMemOp8%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/inc.rs.html#16-20">source</a><a href="#impl-Inc%3CMemOp8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="../struct.MemOp8.html" title="struct juicebox_asm::MemOp8">MemOp8</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Inc%3CMemOp16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/inc.rs.html#22-26">source</a><a href="#impl-Inc%3CMemOp16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="../struct.MemOp16.html" title="struct juicebox_asm::MemOp16">MemOp16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Inc%3CMemOp32%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/inc.rs.html#28-32">source</a><a href="#impl-Inc%3CMemOp32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="../struct.MemOp32.html" title="struct juicebox_asm::MemOp32">MemOp32</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Inc%3CMemOp64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/inc.rs.html#34-38">source</a><a href="#impl-Inc%3CMemOp64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="../struct.MemOp64.html" title="struct juicebox_asm::MemOp64">MemOp64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Inc.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Jmp.html b/juicebox_asm/insn/trait.Jmp.html index 21624f9..f50f85f 100644 --- a/juicebox_asm/insn/trait.Jmp.html +++ b/juicebox_asm/insn/trait.Jmp.html @@ -1,6 +1,6 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `jmp` instruction kinds."><title>Jmp in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Jmp</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.jmp" title="jmp">jmp</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Jmp</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#71-74">source</a> </span></div><pre class="rust item-decl"><code>pub trait Jmp<T> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `jmp` instruction kinds."><title>Jmp in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Jmp</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.jmp" title="jmp">jmp</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Jmp</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#72-75">source</a> </span></div><pre class="rust item-decl"><code>pub trait Jmp<T> { // Required method fn <a href="#tymethod.jmp" class="fn">jmp</a>(&mut self, op1: T); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/jmp"><code>jmp</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.jmp" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#73">source</a><h4 class="code-header">fn <a href="#tymethod.jmp" class="fn">jmp</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit an unconditional jump instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.jmp" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#74">source</a><h4 class="code-header">fn <a href="#tymethod.jmp" class="fn">jmp</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit an unconditional jump instruction.</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Jmp%3C%26mut+Label%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/jmp.rs.html#4-8">source</a><a href="#impl-Jmp%3C%26mut+Label%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Jmp.html" title="trait juicebox_asm::insn::Jmp">Jmp</a><&mut <a class="struct" href="../struct.Label.html" title="struct juicebox_asm::Label">Label</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Jmp.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Jnz.html b/juicebox_asm/insn/trait.Jnz.html index cd1db1d..d4fe117 100644 --- a/juicebox_asm/insn/trait.Jnz.html +++ b/juicebox_asm/insn/trait.Jnz.html @@ -1,6 +1,6 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `jnz` instruction kinds."><title>Jnz in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Jnz</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.jnz" title="jnz">jnz</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Jnz</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#77-80">source</a> </span></div><pre class="rust item-decl"><code>pub trait Jnz<T> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `jnz` instruction kinds."><title>Jnz in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Jnz</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.jnz" title="jnz">jnz</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Jnz</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#78-81">source</a> </span></div><pre class="rust item-decl"><code>pub trait Jnz<T> { // Required method fn <a href="#tymethod.jnz" class="fn">jnz</a>(&mut self, op1: T); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/jcc"><code>jnz</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.jnz" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#79">source</a><h4 class="code-header">fn <a href="#tymethod.jnz" class="fn">jnz</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a conditional jump if not zero instruction (<code>ZF = 0</code>).</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.jnz" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#80">source</a><h4 class="code-header">fn <a href="#tymethod.jnz" class="fn">jnz</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a conditional jump if not zero instruction (<code>ZF = 0</code>).</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Jnz%3C%26mut+Label%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/jnz.rs.html#4-8">source</a><a href="#impl-Jnz%3C%26mut+Label%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Jnz.html" title="trait juicebox_asm::insn::Jnz">Jnz</a><&mut <a class="struct" href="../struct.Label.html" title="struct juicebox_asm::Label">Label</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Jnz.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Jz.html b/juicebox_asm/insn/trait.Jz.html index 5a4a784..b661275 100644 --- a/juicebox_asm/insn/trait.Jz.html +++ b/juicebox_asm/insn/trait.Jz.html @@ -1,6 +1,6 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `jz` instruction kinds."><title>Jz in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Jz</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.jz" title="jz">jz</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Jz</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#83-86">source</a> </span></div><pre class="rust item-decl"><code>pub trait Jz<T> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `jz` instruction kinds."><title>Jz in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Jz</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.jz" title="jz">jz</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Jz</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#84-87">source</a> </span></div><pre class="rust item-decl"><code>pub trait Jz<T> { // Required method fn <a href="#tymethod.jz" class="fn">jz</a>(&mut self, op1: T); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/jcc"><code>jz</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.jz" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#85">source</a><h4 class="code-header">fn <a href="#tymethod.jz" class="fn">jz</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a conditional jump if zero instruction (<code>ZF = 1</code>).</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.jz" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#86">source</a><h4 class="code-header">fn <a href="#tymethod.jz" class="fn">jz</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a conditional jump if zero instruction (<code>ZF = 1</code>).</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Jz%3C%26mut+Label%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/jz.rs.html#4-8">source</a><a href="#impl-Jz%3C%26mut+Label%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Jz.html" title="trait juicebox_asm::insn::Jz">Jz</a><&mut <a class="struct" href="../struct.Label.html" title="struct juicebox_asm::Label">Label</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Jz.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Mov.html b/juicebox_asm/insn/trait.Mov.html index d492eae..1d1156c 100644 --- a/juicebox_asm/insn/trait.Mov.html +++ b/juicebox_asm/insn/trait.Mov.html @@ -1,6 +1,6 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `mov` instruction kinds."><title>Mov in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Mov</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.mov" title="mov">mov</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Mov</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#89-92">source</a> </span></div><pre class="rust item-decl"><code>pub trait Mov<T, U> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `mov` instruction kinds."><title>Mov in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Mov</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.mov" title="mov">mov</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Mov</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#90-93">source</a> </span></div><pre class="rust item-decl"><code>pub trait Mov<T, U> { // Required method fn <a href="#tymethod.mov" class="fn">mov</a>(&mut self, op1: T, op2: U); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/mov"><code>mov</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.mov" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#91">source</a><h4 class="code-header">fn <a href="#tymethod.mov" class="fn">mov</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit an move instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.mov" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#92">source</a><h4 class="code-header">fn <a href="#tymethod.mov" class="fn">mov</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit an move instruction.</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Mov%3CMemOp,+Reg8%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#50-54">source</a><a href="#impl-Mov%3CMemOp,+Reg8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="../enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CMemOp,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#44-48">source</a><a href="#impl-Mov%3CMemOp,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="../enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CMemOp,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#38-42">source</a><a href="#impl-Mov%3CMemOp,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#32-36">source</a><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#110-114">source</a><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="../struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg8,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#76-80">source</a><a href="#impl-Mov%3CReg8,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg8,+Reg8%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#24-28">source</a><a href="#impl-Mov%3CReg8,+Reg8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="enum" href="../enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg8,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#102-106">source</a><a href="#impl-Mov%3CReg8,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="struct" href="../struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg16,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#70-74">source</a><a href="#impl-Mov%3CReg16,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg16,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#18-22">source</a><a href="#impl-Mov%3CReg16,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="enum" href="../enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg16,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#96-100">source</a><a href="#impl-Mov%3CReg16,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="struct" href="../struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg32,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#64-68">source</a><a href="#impl-Mov%3CReg32,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg32,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#12-16">source</a><a href="#impl-Mov%3CReg32,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg32,+Imm32%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#90-94">source</a><a href="#impl-Mov%3CReg32,+Imm32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="struct" href="../struct.Imm32.html" title="struct juicebox_asm::Imm32">Imm32</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#58-62">source</a><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#6-10">source</a><a href="#impl-Mov%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Mov%3CReg64,+Imm64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/mov.rs.html#84-88">source</a><a href="#impl-Mov%3CReg64,+Imm64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="struct" href="../struct.Imm64.html" title="struct juicebox_asm::Imm64">Imm64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Mov.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Pop.html b/juicebox_asm/insn/trait.Pop.html index 424ecd7..449e2c6 100644 --- a/juicebox_asm/insn/trait.Pop.html +++ b/juicebox_asm/insn/trait.Pop.html @@ -1,6 +1,6 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `pop` instruction kinds."><title>Pop in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Pop</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.pop" title="pop">pop</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Pop</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#101-104">source</a> </span></div><pre class="rust item-decl"><code>pub trait Pop<T> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `pop` instruction kinds."><title>Pop in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Pop</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.pop" title="pop">pop</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Pop</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#96-99">source</a> </span></div><pre class="rust item-decl"><code>pub trait Pop<T> { // Required method fn <a href="#tymethod.pop" class="fn">pop</a>(&mut self, op1: T); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/pop"><code>pop</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.pop" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#103">source</a><h4 class="code-header">fn <a href="#tymethod.pop" class="fn">pop</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a pop instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.pop" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#98">source</a><h4 class="code-header">fn <a href="#tymethod.pop" class="fn">pop</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a pop instruction.</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Pop%3CReg16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/pop.rs.html#10-14">source</a><a href="#impl-Pop%3CReg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Pop.html" title="trait juicebox_asm::insn::Pop">Pop</a><<a class="enum" href="../enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Pop%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/pop.rs.html#4-8">source</a><a href="#impl-Pop%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Pop.html" title="trait juicebox_asm::insn::Pop">Pop</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Pop.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Push.html b/juicebox_asm/insn/trait.Push.html index 8d9146b..96a9b3e 100644 --- a/juicebox_asm/insn/trait.Push.html +++ b/juicebox_asm/insn/trait.Push.html @@ -1,6 +1,6 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `push` instruction kinds."><title>Push in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Push</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.push" title="push">push</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Push</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#95-98">source</a> </span></div><pre class="rust item-decl"><code>pub trait Push<T> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `push` instruction kinds."><title>Push in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Push</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.push" title="push">push</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Push</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#102-105">source</a> </span></div><pre class="rust item-decl"><code>pub trait Push<T> { // Required method fn <a href="#tymethod.push" class="fn">push</a>(&mut self, op1: T); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/push"><code>push</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.push" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#97">source</a><h4 class="code-header">fn <a href="#tymethod.push" class="fn">push</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a push instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.push" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#104">source</a><h4 class="code-header">fn <a href="#tymethod.push" class="fn">push</a>(&mut self, op1: T)</h4></section></summary><div class="docblock"><p>Emit a push instruction.</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Push%3CReg16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/push.rs.html#10-14">source</a><a href="#impl-Push%3CReg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Push.html" title="trait juicebox_asm::insn::Push">Push</a><<a class="enum" href="../enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Push%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/push.rs.html#4-8">source</a><a href="#impl-Push%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Push.html" title="trait juicebox_asm::insn::Push">Push</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Push.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Sub.html b/juicebox_asm/insn/trait.Sub.html new file mode 100644 index 0000000..ff300fd --- /dev/null +++ b/juicebox_asm/insn/trait.Sub.html @@ -0,0 +1,6 @@ +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `sub` instruction kinds."><title>Sub in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Sub</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.sub" title="sub">sub</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Sub</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#108-111">source</a> </span></div><pre class="rust item-decl"><code>pub trait Sub<T, U> { + // Required method + fn <a href="#tymethod.sub" class="fn">sub</a>(&mut self, op1: T, op2: U); +}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/sub"><code>sub</code></a> instruction kinds.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.sub" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#110">source</a><h4 class="code-header">fn <a href="#tymethod.sub" class="fn">sub</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit an sub instruction.</p> +</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Sub%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/sub.rs.html#10-14">source</a><a href="#impl-Sub%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Sub.html" title="trait juicebox_asm::insn::Sub">Sub</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="../struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Sub%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/sub.rs.html#4-8">source</a><a href="#impl-Sub%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Sub.html" title="trait juicebox_asm::insn::Sub">Sub</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Sub.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Test.html b/juicebox_asm/insn/trait.Test.html index f5c10de..4cca689 100644 --- a/juicebox_asm/insn/trait.Test.html +++ b/juicebox_asm/insn/trait.Test.html @@ -1,8 +1,8 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `test` instruction kinds."><title>Test in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Test</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.test" title="test">test</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Test</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#107-113">source</a> </span></div><pre class="rust item-decl"><code>pub trait Test<T, U> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `test` instruction kinds."><title>Test in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Test</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.test" title="test">test</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Test</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#114-120">source</a> </span></div><pre class="rust item-decl"><code>pub trait Test<T, U> { // Required method fn <a href="#tymethod.test" class="fn">test</a>(&mut self, op1: T, op2: U); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/test"><code>test</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.test" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#112">source</a><h4 class="code-header">fn <a href="#tymethod.test" class="fn">test</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit a logical compare instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.test" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#119">source</a><h4 class="code-header">fn <a href="#tymethod.test" class="fn">test</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit a logical compare instruction.</p> <p>Computes the bit-wise logical AND of first operand and the second operand and sets the <code>SF</code>, <code>ZF</code>, and <code>PF</code> status flags, the result is discarded.</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/test.rs.html#16-20">source</a><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="../enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="../struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Test%3CReg32,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/test.rs.html#10-14">source</a><a href="#impl-Test%3CReg32,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="../enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Test%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/test.rs.html#4-8">source</a><a href="#impl-Test%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Test.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/insn/trait.Xor.html b/juicebox_asm/insn/trait.Xor.html index 30afee6..589f007 100644 --- a/juicebox_asm/insn/trait.Xor.html +++ b/juicebox_asm/insn/trait.Xor.html @@ -1,6 +1,6 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `xor` instruction kinds."><title>Xor in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Xor</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.xor" title="xor">xor</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Xor</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#116-119">source</a> </span></div><pre class="rust item-decl"><code>pub trait Xor<T, U> { +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait for `xor` instruction kinds."><title>Xor in juicebox_asm::insn - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Xor</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.xor" title="xor">xor</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In juicebox_<wbr>asm::<wbr>insn</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">juicebox_asm</a>::<wbr><a href="index.html">insn</a></span><h1>Trait <span class="trait">Xor</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/juicebox_asm/insn.rs.html#123-126">source</a> </span></div><pre class="rust item-decl"><code>pub trait Xor<T, U> { // Required method fn <a href="#tymethod.xor" class="fn">xor</a>(&mut self, op1: T, op2: U); }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for <a href="https://www.felixcloutier.com/x86/xor"><code>xor</code></a> instruction kinds.</p> -</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.xor" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#118">source</a><h4 class="code-header">fn <a href="#tymethod.xor" class="fn">xor</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit a xor instruction.</p> +</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.xor" class="method"><a class="src rightside" href="../../src/juicebox_asm/insn.rs.html#125">source</a><h4 class="code-header">fn <a href="#tymethod.xor" class="fn">xor</a>(&mut self, op1: T, op2: U)</h4></section></summary><div class="docblock"><p>Emit a xor instruction.</p> </div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Xor%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../../src/juicebox_asm/insn/xor.rs.html#4-8">source</a><a href="#impl-Xor%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Xor.html" title="trait juicebox_asm::insn::Xor">Xor</a><<a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="../enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="../struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><script src="../../trait.impl/juicebox_asm/insn/trait.Xor.js" async></script></section></div></main></body></html>
\ No newline at end of file diff --git a/juicebox_asm/struct.Asm.html b/juicebox_asm/struct.Asm.html index 7bb4da2..c859d63 100644 --- a/juicebox_asm/struct.Asm.html +++ b/juicebox_asm/struct.Asm.html @@ -1,10 +1,10 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="`x64` jit assembler."><title>Asm in juicebox_asm - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Asm</a></h2><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.bind" title="bind">bind</a></li><li><a href="#method.into_code" title="into_code">into_code</a></li><li><a href="#method.new" title="new">new</a></li><li><a href="#method.nop" title="nop">nop</a></li><li><a href="#method.ret" title="ret">ret</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" title="Add<MemOp, Imm16>">Add<MemOp, Imm16></a></li><li><a href="#impl-Add%3CMemOp,+Reg16%3E-for-Asm" title="Add<MemOp, Reg16>">Add<MemOp, Reg16></a></li><li><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" title="Add<MemOp, Reg64>">Add<MemOp, Reg64></a></li><li><a href="#impl-Add%3CReg32,+Reg32%3E-for-Asm" title="Add<Reg32, Reg32>">Add<Reg32, Reg32></a></li><li><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" title="Add<Reg64, MemOp>">Add<Reg64, MemOp></a></li><li><a href="#impl-Add%3CReg64,+Reg64%3E-for-Asm" title="Add<Reg64, Reg64>">Add<Reg64, Reg64></a></li><li><a href="#impl-Call%3CReg64%3E-for-Asm" title="Call<Reg64>">Call<Reg64></a></li><li><a href="#impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" title="Cmovnz<Reg64, Reg64>">Cmovnz<Reg64, Reg64></a></li><li><a href="#impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" title="Cmovz<Reg64, Reg64>">Cmovz<Reg64, Reg64></a></li><li><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" title="Cmp<MemOp, Imm16>">Cmp<MemOp, Imm16></a></li><li><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" title="Cmp<MemOp, Imm8>">Cmp<MemOp, Imm8></a></li><li><a href="#impl-Dec%3CMemOp16%3E-for-Asm" title="Dec<MemOp16>">Dec<MemOp16></a></li><li><a href="#impl-Dec%3CMemOp32%3E-for-Asm" title="Dec<MemOp32>">Dec<MemOp32></a></li><li><a href="#impl-Dec%3CMemOp64%3E-for-Asm" title="Dec<MemOp64>">Dec<MemOp64></a></li><li><a href="#impl-Dec%3CMemOp8%3E-for-Asm" title="Dec<MemOp8>">Dec<MemOp8></a></li><li><a href="#impl-Dec%3CReg32%3E-for-Asm" title="Dec<Reg32>">Dec<Reg32></a></li><li><a href="#impl-Dec%3CReg64%3E-for-Asm" title="Dec<Reg64>">Dec<Reg64></a></li><li><a href="#impl-Inc%3CMemOp16%3E-for-Asm" title="Inc<MemOp16>">Inc<MemOp16></a></li><li><a href="#impl-Inc%3CMemOp32%3E-for-Asm" title="Inc<MemOp32>">Inc<MemOp32></a></li><li><a href="#impl-Inc%3CMemOp64%3E-for-Asm" title="Inc<MemOp64>">Inc<MemOp64></a></li><li><a href="#impl-Inc%3CMemOp8%3E-for-Asm" title="Inc<MemOp8>">Inc<MemOp8></a></li><li><a href="#impl-Inc%3CReg32%3E-for-Asm" title="Inc<Reg32>">Inc<Reg32></a></li><li><a href="#impl-Inc%3CReg64%3E-for-Asm" title="Inc<Reg64>">Inc<Reg64></a></li><li><a href="#impl-Jmp%3C%26mut+Label%3E-for-Asm" title="Jmp<&mut Label>">Jmp<&mut Label></a></li><li><a href="#impl-Jnz%3C%26mut+Label%3E-for-Asm" title="Jnz<&mut Label>">Jnz<&mut Label></a></li><li><a href="#impl-Jz%3C%26mut+Label%3E-for-Asm" title="Jz<&mut Label>">Jz<&mut Label></a></li><li><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" title="Mov<MemOp, Imm16>">Mov<MemOp, Imm16></a></li><li><a href="#impl-Mov%3CMemOp,+Reg16%3E-for-Asm" title="Mov<MemOp, Reg16>">Mov<MemOp, Reg16></a></li><li><a href="#impl-Mov%3CMemOp,+Reg32%3E-for-Asm" title="Mov<MemOp, Reg32>">Mov<MemOp, Reg32></a></li><li><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" title="Mov<MemOp, Reg64>">Mov<MemOp, Reg64></a></li><li><a href="#impl-Mov%3CMemOp,+Reg8%3E-for-Asm" title="Mov<MemOp, Reg8>">Mov<MemOp, Reg8></a></li><li><a href="#impl-Mov%3CReg16,+Imm16%3E-for-Asm" title="Mov<Reg16, Imm16>">Mov<Reg16, Imm16></a></li><li><a href="#impl-Mov%3CReg16,+MemOp%3E-for-Asm" title="Mov<Reg16, MemOp>">Mov<Reg16, MemOp></a></li><li><a href="#impl-Mov%3CReg16,+Reg16%3E-for-Asm" title="Mov<Reg16, Reg16>">Mov<Reg16, Reg16></a></li><li><a href="#impl-Mov%3CReg32,+Imm32%3E-for-Asm" title="Mov<Reg32, Imm32>">Mov<Reg32, Imm32></a></li><li><a href="#impl-Mov%3CReg32,+MemOp%3E-for-Asm" title="Mov<Reg32, MemOp>">Mov<Reg32, MemOp></a></li><li><a href="#impl-Mov%3CReg32,+Reg32%3E-for-Asm" title="Mov<Reg32, Reg32>">Mov<Reg32, Reg32></a></li><li><a href="#impl-Mov%3CReg64,+Imm64%3E-for-Asm" title="Mov<Reg64, Imm64>">Mov<Reg64, Imm64></a></li><li><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" title="Mov<Reg64, MemOp>">Mov<Reg64, MemOp></a></li><li><a href="#impl-Mov%3CReg64,+Reg64%3E-for-Asm" title="Mov<Reg64, Reg64>">Mov<Reg64, Reg64></a></li><li><a href="#impl-Mov%3CReg8,+Imm8%3E-for-Asm" title="Mov<Reg8, Imm8>">Mov<Reg8, Imm8></a></li><li><a href="#impl-Mov%3CReg8,+MemOp%3E-for-Asm" title="Mov<Reg8, MemOp>">Mov<Reg8, MemOp></a></li><li><a href="#impl-Mov%3CReg8,+Reg8%3E-for-Asm" title="Mov<Reg8, Reg8>">Mov<Reg8, Reg8></a></li><li><a href="#impl-Pop%3CReg16%3E-for-Asm" title="Pop<Reg16>">Pop<Reg16></a></li><li><a href="#impl-Pop%3CReg64%3E-for-Asm" title="Pop<Reg64>">Pop<Reg64></a></li><li><a href="#impl-Push%3CReg16%3E-for-Asm" title="Push<Reg16>">Push<Reg16></a></li><li><a href="#impl-Push%3CReg64%3E-for-Asm" title="Push<Reg64>">Push<Reg64></a></li><li><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" title="Test<MemOp, Imm16>">Test<MemOp, Imm16></a></li><li><a href="#impl-Test%3CReg32,+Reg32%3E-for-Asm" title="Test<Reg32, Reg32>">Test<Reg32, Reg32></a></li><li><a href="#impl-Test%3CReg64,+Reg64%3E-for-Asm" title="Test<Reg64, Reg64>">Test<Reg64, Reg64></a></li><li><a href="#impl-Xor%3CReg64,+Reg64%3E-for-Asm" title="Xor<Reg64, Reg64>">Xor<Reg64, Reg64></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Asm" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Asm" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Asm" title="Send">Send</a></li><li><a href="#impl-Sync-for-Asm" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Asm" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Asm" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate juicebox_<wbr>asm</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">juicebox_asm</a></span><h1>Struct <span class="struct">Asm</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/juicebox_asm/asm.rs.html#27-29">source</a> </span></div><pre class="rust item-decl"><code>pub struct Asm { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p><code>x64</code> jit assembler.</p> +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="`x64` jit assembler."><title>Asm in juicebox_asm - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Asm</a></h2><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.bind" title="bind">bind</a></li><li><a href="#method.into_code" title="into_code">into_code</a></li><li><a href="#method.new" title="new">new</a></li><li><a href="#method.nop" title="nop">nop</a></li><li><a href="#method.ret" title="ret">ret</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" title="Add<MemOp, Imm16>">Add<MemOp, Imm16></a></li><li><a href="#impl-Add%3CMemOp,+Imm8%3E-for-Asm" title="Add<MemOp, Imm8>">Add<MemOp, Imm8></a></li><li><a href="#impl-Add%3CMemOp,+Reg16%3E-for-Asm" title="Add<MemOp, Reg16>">Add<MemOp, Reg16></a></li><li><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" title="Add<MemOp, Reg64>">Add<MemOp, Reg64></a></li><li><a href="#impl-Add%3CReg32,+Reg32%3E-for-Asm" title="Add<Reg32, Reg32>">Add<Reg32, Reg32></a></li><li><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" title="Add<Reg64, MemOp>">Add<Reg64, MemOp></a></li><li><a href="#impl-Add%3CReg64,+Reg64%3E-for-Asm" title="Add<Reg64, Reg64>">Add<Reg64, Reg64></a></li><li><a href="#impl-Call%3CReg64%3E-for-Asm" title="Call<Reg64>">Call<Reg64></a></li><li><a href="#impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" title="Cmovnz<Reg64, Reg64>">Cmovnz<Reg64, Reg64></a></li><li><a href="#impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" title="Cmovz<Reg64, Reg64>">Cmovz<Reg64, Reg64></a></li><li><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" title="Cmp<MemOp, Imm16>">Cmp<MemOp, Imm16></a></li><li><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" title="Cmp<MemOp, Imm8>">Cmp<MemOp, Imm8></a></li><li><a href="#impl-Dec%3CMemOp16%3E-for-Asm" title="Dec<MemOp16>">Dec<MemOp16></a></li><li><a href="#impl-Dec%3CMemOp32%3E-for-Asm" title="Dec<MemOp32>">Dec<MemOp32></a></li><li><a href="#impl-Dec%3CMemOp64%3E-for-Asm" title="Dec<MemOp64>">Dec<MemOp64></a></li><li><a href="#impl-Dec%3CMemOp8%3E-for-Asm" title="Dec<MemOp8>">Dec<MemOp8></a></li><li><a href="#impl-Dec%3CReg32%3E-for-Asm" title="Dec<Reg32>">Dec<Reg32></a></li><li><a href="#impl-Dec%3CReg64%3E-for-Asm" title="Dec<Reg64>">Dec<Reg64></a></li><li><a href="#impl-Inc%3CMemOp16%3E-for-Asm" title="Inc<MemOp16>">Inc<MemOp16></a></li><li><a href="#impl-Inc%3CMemOp32%3E-for-Asm" title="Inc<MemOp32>">Inc<MemOp32></a></li><li><a href="#impl-Inc%3CMemOp64%3E-for-Asm" title="Inc<MemOp64>">Inc<MemOp64></a></li><li><a href="#impl-Inc%3CMemOp8%3E-for-Asm" title="Inc<MemOp8>">Inc<MemOp8></a></li><li><a href="#impl-Inc%3CReg32%3E-for-Asm" title="Inc<Reg32>">Inc<Reg32></a></li><li><a href="#impl-Inc%3CReg64%3E-for-Asm" title="Inc<Reg64>">Inc<Reg64></a></li><li><a href="#impl-Jmp%3C%26mut+Label%3E-for-Asm" title="Jmp<&mut Label>">Jmp<&mut Label></a></li><li><a href="#impl-Jnz%3C%26mut+Label%3E-for-Asm" title="Jnz<&mut Label>">Jnz<&mut Label></a></li><li><a href="#impl-Jz%3C%26mut+Label%3E-for-Asm" title="Jz<&mut Label>">Jz<&mut Label></a></li><li><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" title="Mov<MemOp, Imm16>">Mov<MemOp, Imm16></a></li><li><a href="#impl-Mov%3CMemOp,+Reg16%3E-for-Asm" title="Mov<MemOp, Reg16>">Mov<MemOp, Reg16></a></li><li><a href="#impl-Mov%3CMemOp,+Reg32%3E-for-Asm" title="Mov<MemOp, Reg32>">Mov<MemOp, Reg32></a></li><li><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" title="Mov<MemOp, Reg64>">Mov<MemOp, Reg64></a></li><li><a href="#impl-Mov%3CMemOp,+Reg8%3E-for-Asm" title="Mov<MemOp, Reg8>">Mov<MemOp, Reg8></a></li><li><a href="#impl-Mov%3CReg16,+Imm16%3E-for-Asm" title="Mov<Reg16, Imm16>">Mov<Reg16, Imm16></a></li><li><a href="#impl-Mov%3CReg16,+MemOp%3E-for-Asm" title="Mov<Reg16, MemOp>">Mov<Reg16, MemOp></a></li><li><a href="#impl-Mov%3CReg16,+Reg16%3E-for-Asm" title="Mov<Reg16, Reg16>">Mov<Reg16, Reg16></a></li><li><a href="#impl-Mov%3CReg32,+Imm32%3E-for-Asm" title="Mov<Reg32, Imm32>">Mov<Reg32, Imm32></a></li><li><a href="#impl-Mov%3CReg32,+MemOp%3E-for-Asm" title="Mov<Reg32, MemOp>">Mov<Reg32, MemOp></a></li><li><a href="#impl-Mov%3CReg32,+Reg32%3E-for-Asm" title="Mov<Reg32, Reg32>">Mov<Reg32, Reg32></a></li><li><a href="#impl-Mov%3CReg64,+Imm64%3E-for-Asm" title="Mov<Reg64, Imm64>">Mov<Reg64, Imm64></a></li><li><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" title="Mov<Reg64, MemOp>">Mov<Reg64, MemOp></a></li><li><a href="#impl-Mov%3CReg64,+Reg64%3E-for-Asm" title="Mov<Reg64, Reg64>">Mov<Reg64, Reg64></a></li><li><a href="#impl-Mov%3CReg8,+Imm8%3E-for-Asm" title="Mov<Reg8, Imm8>">Mov<Reg8, Imm8></a></li><li><a href="#impl-Mov%3CReg8,+MemOp%3E-for-Asm" title="Mov<Reg8, MemOp>">Mov<Reg8, MemOp></a></li><li><a href="#impl-Mov%3CReg8,+Reg8%3E-for-Asm" title="Mov<Reg8, Reg8>">Mov<Reg8, Reg8></a></li><li><a href="#impl-Pop%3CReg16%3E-for-Asm" title="Pop<Reg16>">Pop<Reg16></a></li><li><a href="#impl-Pop%3CReg64%3E-for-Asm" title="Pop<Reg64>">Pop<Reg64></a></li><li><a href="#impl-Push%3CReg16%3E-for-Asm" title="Push<Reg16>">Push<Reg16></a></li><li><a href="#impl-Push%3CReg64%3E-for-Asm" title="Push<Reg64>">Push<Reg64></a></li><li><a href="#impl-Sub%3CMemOp,+Imm8%3E-for-Asm" title="Sub<MemOp, Imm8>">Sub<MemOp, Imm8></a></li><li><a href="#impl-Sub%3CReg64,+Reg64%3E-for-Asm" title="Sub<Reg64, Reg64>">Sub<Reg64, Reg64></a></li><li><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" title="Test<MemOp, Imm16>">Test<MemOp, Imm16></a></li><li><a href="#impl-Test%3CReg32,+Reg32%3E-for-Asm" title="Test<Reg32, Reg32>">Test<Reg32, Reg32></a></li><li><a href="#impl-Test%3CReg64,+Reg64%3E-for-Asm" title="Test<Reg64, Reg64>">Test<Reg64, Reg64></a></li><li><a href="#impl-Xor%3CReg64,+Reg64%3E-for-Asm" title="Xor<Reg64, Reg64>">Xor<Reg64, Reg64></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Asm" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Asm" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Asm" title="Send">Send</a></li><li><a href="#impl-Sync-for-Asm" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Asm" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Asm" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate juicebox_<wbr>asm</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">juicebox_asm</a></span><h1>Struct <span class="struct">Asm</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/juicebox_asm/asm.rs.html#27-29">source</a> </span></div><pre class="rust item-decl"><code>pub struct Asm { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p><code>x64</code> jit assembler.</p> </div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/asm.rs.html#31-320">source</a><a href="#impl-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../src/juicebox_asm/asm.rs.html#33-37">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -> <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h4></section></summary><div class="docblock"><p>Create a new <code>x64</code> jit assembler.</p> </div></details><details class="toggle method-toggle" open><summary><section id="method.into_code" class="method"><a class="src rightside" href="../src/juicebox_asm/asm.rs.html#40-42">source</a><h4 class="code-header">pub fn <a href="#method.into_code" class="fn">into_code</a>(self) -> <a class="struct" href="https://doc.rust-lang.org/1.83.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u8.html">u8</a>></h4></section></summary><div class="docblock"><p>Consume the assembler and get the emitted code.</p> </div></details><details class="toggle method-toggle" open><summary><section id="method.bind" class="method"><a class="src rightside" href="../src/juicebox_asm/asm.rs.html#70-76">source</a><h4 class="code-header">pub fn <a href="#method.bind" class="fn">bind</a>(&mut self, label: &mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>)</h4></section></summary><div class="docblock"><p>Bind the <a href="struct.Label.html" title="struct juicebox_asm::Label">Label</a> to the current location.</p> </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Asm-1" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/nop.rs.html#3-8">source</a><a href="#impl-Asm-1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.nop" class="method"><a class="src rightside" href="../src/juicebox_asm/insn/nop.rs.html#5-7">source</a><h4 class="code-header">pub fn <a href="#method.nop" class="fn">nop</a>(&mut self)</h4></section></summary><div class="docblock"><p>Emit a <a href="https://www.felixcloutier.com/x86/nop"><code>nop</code></a> instruction.</p> </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Asm-2" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/ret.rs.html#3-8">source</a><a href="#impl-Asm-2" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.ret" class="method"><a class="src rightside" href="../src/juicebox_asm/insn/ret.rs.html#5-7">source</a><h4 class="code-header">pub fn <a href="#method.ret" class="fn">ret</a>(&mut self)</h4></section></summary><div class="docblock"><p>Emit a <a href="https://www.felixcloutier.com/x86/ret"><code>ret</code></a> instruction.</p> -</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#28-32">source</a><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-4" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#29-31">source</a><a href="#method.add-4" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#22-26">source</a><a href="#impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#23-25">source</a><a href="#method.add-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#16-20">source</a><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#17-19">source</a><a href="#method.add-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg32,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#10-14">source</a><a href="#impl-Add%3CReg32,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#11-13">source</a><a href="#method.add-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#34-38">source</a><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-5" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#35-37">source</a><a href="#method.add-5" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#4-8">source</a><a href="#impl-Add%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#5-7">source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Call%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/call.rs.html#4-8">source</a><a href="#impl-Call%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Call.html" title="trait juicebox_asm::insn::Call">Call</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.call" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/call.rs.html#5-7">source</a><a href="#method.call" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Call.html#tymethod.call" class="fn">call</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a call instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovnz.rs.html#4-8">source</a><a href="#impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmovnz.html" title="trait juicebox_asm::insn::Cmovnz">Cmovnz</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmovnz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovnz.rs.html#5-7">source</a><a href="#method.cmovnz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmovnz.html#tymethod.cmovnz" class="fn">cmovnz</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a (conditional) move if not zero instruction. <a href="insn/trait.Cmovnz.html#tymethod.cmovnz">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovz.rs.html#4-8">source</a><a href="#impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmovz.html" title="trait juicebox_asm::insn::Cmovz">Cmovz</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmovz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovz.rs.html#5-7">source</a><a href="#method.cmovz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmovz.html#tymethod.cmovz" class="fn">cmovz</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a (conditional) move if zero instruction. <a href="insn/trait.Cmovz.html#tymethod.cmovz">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#10-14">source</a><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#11-13">source</a><a href="#method.cmp-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#4-8">source</a><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#5-7">source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CMemOp16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#22-26">source</a><a href="#impl-Dec%3CMemOp16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="struct.MemOp16.html" title="struct juicebox_asm::MemOp16">MemOp16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#23-25">source</a><a href="#method.dec-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="struct" href="struct.MemOp16.html" title="struct juicebox_asm::MemOp16">MemOp16</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CMemOp32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#28-32">source</a><a href="#impl-Dec%3CMemOp32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="struct.MemOp32.html" title="struct juicebox_asm::MemOp32">MemOp32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec-4" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#29-31">source</a><a href="#method.dec-4" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="struct" href="struct.MemOp32.html" title="struct juicebox_asm::MemOp32">MemOp32</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CMemOp64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#34-38">source</a><a href="#impl-Dec%3CMemOp64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="struct.MemOp64.html" title="struct juicebox_asm::MemOp64">MemOp64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec-5" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#35-37">source</a><a href="#method.dec-5" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="struct" href="struct.MemOp64.html" title="struct juicebox_asm::MemOp64">MemOp64</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CMemOp8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#16-20">source</a><a href="#impl-Dec%3CMemOp8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="struct.MemOp8.html" title="struct juicebox_asm::MemOp8">MemOp8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#17-19">source</a><a href="#method.dec-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="struct" href="struct.MemOp8.html" title="struct juicebox_asm::MemOp8">MemOp8</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CReg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#10-14">source</a><a href="#impl-Dec%3CReg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#11-13">source</a><a href="#method.dec-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#4-8">source</a><a href="#impl-Dec%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#5-7">source</a><a href="#method.dec" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CMemOp16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#22-26">source</a><a href="#impl-Inc%3CMemOp16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="struct.MemOp16.html" title="struct juicebox_asm::MemOp16">MemOp16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#23-25">source</a><a href="#method.inc-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="struct" href="struct.MemOp16.html" title="struct juicebox_asm::MemOp16">MemOp16</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CMemOp32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#28-32">source</a><a href="#impl-Inc%3CMemOp32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="struct.MemOp32.html" title="struct juicebox_asm::MemOp32">MemOp32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc-4" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#29-31">source</a><a href="#method.inc-4" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="struct" href="struct.MemOp32.html" title="struct juicebox_asm::MemOp32">MemOp32</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CMemOp64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#34-38">source</a><a href="#impl-Inc%3CMemOp64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="struct.MemOp64.html" title="struct juicebox_asm::MemOp64">MemOp64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc-5" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#35-37">source</a><a href="#method.inc-5" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="struct" href="struct.MemOp64.html" title="struct juicebox_asm::MemOp64">MemOp64</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CMemOp8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#16-20">source</a><a href="#impl-Inc%3CMemOp8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="struct.MemOp8.html" title="struct juicebox_asm::MemOp8">MemOp8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#17-19">source</a><a href="#method.inc-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="struct" href="struct.MemOp8.html" title="struct juicebox_asm::MemOp8">MemOp8</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CReg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#10-14">source</a><a href="#impl-Inc%3CReg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#11-13">source</a><a href="#method.inc-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#4-8">source</a><a href="#impl-Inc%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#5-7">source</a><a href="#method.inc" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Jmp%3C%26mut+Label%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/jmp.rs.html#4-8">source</a><a href="#impl-Jmp%3C%26mut+Label%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Jmp.html" title="trait juicebox_asm::insn::Jmp">Jmp</a><&mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.jmp" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/jmp.rs.html#5-7">source</a><a href="#method.jmp" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Jmp.html#tymethod.jmp" class="fn">jmp</a>(&mut self, op1: &mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>)</h4></section></summary><div class='docblock'>Emit an unconditional jump instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Jnz%3C%26mut+Label%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/jnz.rs.html#4-8">source</a><a href="#impl-Jnz%3C%26mut+Label%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Jnz.html" title="trait juicebox_asm::insn::Jnz">Jnz</a><&mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.jnz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/jnz.rs.html#5-7">source</a><a href="#method.jnz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Jnz.html#tymethod.jnz" class="fn">jnz</a>(&mut self, op1: &mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>)</h4></section></summary><div class='docblock'>Emit a conditional jump if not zero instruction (<code>ZF = 0</code>).</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Jz%3C%26mut+Label%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/jz.rs.html#4-8">source</a><a href="#impl-Jz%3C%26mut+Label%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Jz.html" title="trait juicebox_asm::insn::Jz">Jz</a><&mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.jz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/jz.rs.html#5-7">source</a><a href="#method.jz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Jz.html#tymethod.jz" class="fn">jz</a>(&mut self, op1: &mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>)</h4></section></summary><div class='docblock'>Emit a conditional jump if zero instruction (<code>ZF = 1</code>).</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#110-114">source</a><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-16" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#111-113">source</a><a href="#method.mov-16" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#44-48">source</a><a href="#impl-Mov%3CMemOp,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-6" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#45-47">source</a><a href="#method.mov-6" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#38-42">source</a><a href="#impl-Mov%3CMemOp,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-5" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#39-41">source</a><a href="#method.mov-5" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#32-36">source</a><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-4" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#33-35">source</a><a href="#method.mov-4" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#50-54">source</a><a href="#impl-Mov%3CMemOp,+Reg8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-7" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#51-53">source</a><a href="#method.mov-7" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg16,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#96-100">source</a><a href="#impl-Mov%3CReg16,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-14" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#97-99">source</a><a href="#method.mov-14" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg16,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#70-74">source</a><a href="#impl-Mov%3CReg16,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-10" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#71-73">source</a><a href="#method.mov-10" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg16,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#18-22">source</a><a href="#impl-Mov%3CReg16,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#19-21">source</a><a href="#method.mov-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, op2: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg32,+Imm32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#90-94">source</a><a href="#impl-Mov%3CReg32,+Imm32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="struct" href="struct.Imm32.html" title="struct juicebox_asm::Imm32">Imm32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-13" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#91-93">source</a><a href="#method.mov-13" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="struct" href="struct.Imm32.html" title="struct juicebox_asm::Imm32">Imm32</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg32,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#64-68">source</a><a href="#impl-Mov%3CReg32,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-9" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#65-67">source</a><a href="#method.mov-9" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg32,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#12-16">source</a><a href="#impl-Mov%3CReg32,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#13-15">source</a><a href="#method.mov-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+Imm64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#84-88">source</a><a href="#impl-Mov%3CReg64,+Imm64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="struct" href="struct.Imm64.html" title="struct juicebox_asm::Imm64">Imm64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-12" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#85-87">source</a><a href="#method.mov-12" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="struct" href="struct.Imm64.html" title="struct juicebox_asm::Imm64">Imm64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#58-62">source</a><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-8" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#59-61">source</a><a href="#method.mov-8" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#6-10">source</a><a href="#impl-Mov%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#7-9">source</a><a href="#method.mov" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg8,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#102-106">source</a><a href="#impl-Mov%3CReg8,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-15" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#103-105">source</a><a href="#method.mov-15" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg8,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#76-80">source</a><a href="#impl-Mov%3CReg8,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-11" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#77-79">source</a><a href="#method.mov-11" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg8,+Reg8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#24-28">source</a><a href="#impl-Mov%3CReg8,+Reg8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#25-27">source</a><a href="#method.mov-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, op2: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Pop%3CReg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#10-14">source</a><a href="#impl-Pop%3CReg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Pop.html" title="trait juicebox_asm::insn::Pop">Pop</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pop-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#11-13">source</a><a href="#method.pop-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Pop.html#tymethod.pop" class="fn">pop</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit a pop instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Pop%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#4-8">source</a><a href="#impl-Pop%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Pop.html" title="trait juicebox_asm::insn::Pop">Pop</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pop" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#5-7">source</a><a href="#method.pop" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Pop.html#tymethod.pop" class="fn">pop</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a pop instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Push%3CReg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#10-14">source</a><a href="#impl-Push%3CReg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Push.html" title="trait juicebox_asm::insn::Push">Push</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.push-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#11-13">source</a><a href="#method.push-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Push.html#tymethod.push" class="fn">push</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit a push instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Push%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#4-8">source</a><a href="#impl-Push%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Push.html" title="trait juicebox_asm::insn::Push">Push</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.push" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#5-7">source</a><a href="#method.push" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Push.html#tymethod.push" class="fn">push</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a push instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#16-20">source</a><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#17-19">source</a><a href="#method.test-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CReg32,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#10-14">source</a><a href="#impl-Test%3CReg32,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#11-13">source</a><a href="#method.test-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#4-8">source</a><a href="#impl-Test%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#5-7">source</a><a href="#method.test" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Xor%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/xor.rs.html#4-8">source</a><a href="#impl-Xor%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Xor.html" title="trait juicebox_asm::insn::Xor">Xor</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.xor" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/xor.rs.html#5-7">source</a><a href="#method.xor" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Xor.html#tymethod.xor" class="fn">xor</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a xor instruction.</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Asm" class="impl"><a href="#impl-Freeze-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-RefUnwindSafe-for-Asm" class="impl"><a href="#impl-RefUnwindSafe-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Send-for-Asm" class="impl"><a href="#impl-Send-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Sync-for-Asm" class="impl"><a href="#impl-Sync-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Unpin-for-Asm" class="impl"><a href="#impl-Unpin-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-UnwindSafe-for-Asm" class="impl"><a href="#impl-UnwindSafe-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where +</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#34-38">source</a><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-5" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#35-37">source</a><a href="#method.add-5" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#28-32">source</a><a href="#impl-Add%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-4" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#29-31">source</a><a href="#method.add-4" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#22-26">source</a><a href="#impl-Add%3CMemOp,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#23-25">source</a><a href="#method.add-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#16-20">source</a><a href="#impl-Add%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#17-19">source</a><a href="#method.add-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg32,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#10-14">source</a><a href="#impl-Add%3CReg32,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#11-13">source</a><a href="#method.add-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#40-44">source</a><a href="#impl-Add%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add-6" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#41-43">source</a><a href="#method.add-6" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#4-8">source</a><a href="#impl-Add%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#5-7">source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Call%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/call.rs.html#4-8">source</a><a href="#impl-Call%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Call.html" title="trait juicebox_asm::insn::Call">Call</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.call" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/call.rs.html#5-7">source</a><a href="#method.call" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Call.html#tymethod.call" class="fn">call</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a call instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovnz.rs.html#4-8">source</a><a href="#impl-Cmovnz%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmovnz.html" title="trait juicebox_asm::insn::Cmovnz">Cmovnz</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmovnz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovnz.rs.html#5-7">source</a><a href="#method.cmovnz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmovnz.html#tymethod.cmovnz" class="fn">cmovnz</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a (conditional) move if not zero instruction. <a href="insn/trait.Cmovnz.html#tymethod.cmovnz">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovz.rs.html#4-8">source</a><a href="#impl-Cmovz%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmovz.html" title="trait juicebox_asm::insn::Cmovz">Cmovz</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmovz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmovz.rs.html#5-7">source</a><a href="#method.cmovz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmovz.html#tymethod.cmovz" class="fn">cmovz</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a (conditional) move if zero instruction. <a href="insn/trait.Cmovz.html#tymethod.cmovz">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#10-14">source</a><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#11-13">source</a><a href="#method.cmp-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#4-8">source</a><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#5-7">source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CMemOp16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#22-26">source</a><a href="#impl-Dec%3CMemOp16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="struct.MemOp16.html" title="struct juicebox_asm::MemOp16">MemOp16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#23-25">source</a><a href="#method.dec-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="struct" href="struct.MemOp16.html" title="struct juicebox_asm::MemOp16">MemOp16</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CMemOp32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#28-32">source</a><a href="#impl-Dec%3CMemOp32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="struct.MemOp32.html" title="struct juicebox_asm::MemOp32">MemOp32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec-4" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#29-31">source</a><a href="#method.dec-4" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="struct" href="struct.MemOp32.html" title="struct juicebox_asm::MemOp32">MemOp32</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CMemOp64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#34-38">source</a><a href="#impl-Dec%3CMemOp64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="struct.MemOp64.html" title="struct juicebox_asm::MemOp64">MemOp64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec-5" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#35-37">source</a><a href="#method.dec-5" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="struct" href="struct.MemOp64.html" title="struct juicebox_asm::MemOp64">MemOp64</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CMemOp8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#16-20">source</a><a href="#impl-Dec%3CMemOp8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="struct" href="struct.MemOp8.html" title="struct juicebox_asm::MemOp8">MemOp8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#17-19">source</a><a href="#method.dec-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="struct" href="struct.MemOp8.html" title="struct juicebox_asm::MemOp8">MemOp8</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CReg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#10-14">source</a><a href="#impl-Dec%3CReg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#11-13">source</a><a href="#method.dec-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dec%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#4-8">source</a><a href="#impl-Dec%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Dec.html" title="trait juicebox_asm::insn::Dec">Dec</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dec" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/dec.rs.html#5-7">source</a><a href="#method.dec" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Dec.html#tymethod.dec" class="fn">dec</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a decrement instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CMemOp16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#22-26">source</a><a href="#impl-Inc%3CMemOp16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="struct.MemOp16.html" title="struct juicebox_asm::MemOp16">MemOp16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#23-25">source</a><a href="#method.inc-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="struct" href="struct.MemOp16.html" title="struct juicebox_asm::MemOp16">MemOp16</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CMemOp32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#28-32">source</a><a href="#impl-Inc%3CMemOp32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="struct.MemOp32.html" title="struct juicebox_asm::MemOp32">MemOp32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc-4" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#29-31">source</a><a href="#method.inc-4" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="struct" href="struct.MemOp32.html" title="struct juicebox_asm::MemOp32">MemOp32</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CMemOp64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#34-38">source</a><a href="#impl-Inc%3CMemOp64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="struct.MemOp64.html" title="struct juicebox_asm::MemOp64">MemOp64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc-5" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#35-37">source</a><a href="#method.inc-5" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="struct" href="struct.MemOp64.html" title="struct juicebox_asm::MemOp64">MemOp64</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CMemOp8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#16-20">source</a><a href="#impl-Inc%3CMemOp8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="struct" href="struct.MemOp8.html" title="struct juicebox_asm::MemOp8">MemOp8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#17-19">source</a><a href="#method.inc-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="struct" href="struct.MemOp8.html" title="struct juicebox_asm::MemOp8">MemOp8</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CReg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#10-14">source</a><a href="#impl-Inc%3CReg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#11-13">source</a><a href="#method.inc-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Inc%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#4-8">source</a><a href="#impl-Inc%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Inc.html" title="trait juicebox_asm::insn::Inc">Inc</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.inc" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/inc.rs.html#5-7">source</a><a href="#method.inc" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Inc.html#tymethod.inc" class="fn">inc</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a increment instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Jmp%3C%26mut+Label%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/jmp.rs.html#4-8">source</a><a href="#impl-Jmp%3C%26mut+Label%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Jmp.html" title="trait juicebox_asm::insn::Jmp">Jmp</a><&mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.jmp" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/jmp.rs.html#5-7">source</a><a href="#method.jmp" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Jmp.html#tymethod.jmp" class="fn">jmp</a>(&mut self, op1: &mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>)</h4></section></summary><div class='docblock'>Emit an unconditional jump instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Jnz%3C%26mut+Label%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/jnz.rs.html#4-8">source</a><a href="#impl-Jnz%3C%26mut+Label%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Jnz.html" title="trait juicebox_asm::insn::Jnz">Jnz</a><&mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.jnz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/jnz.rs.html#5-7">source</a><a href="#method.jnz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Jnz.html#tymethod.jnz" class="fn">jnz</a>(&mut self, op1: &mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>)</h4></section></summary><div class='docblock'>Emit a conditional jump if not zero instruction (<code>ZF = 0</code>).</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Jz%3C%26mut+Label%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/jz.rs.html#4-8">source</a><a href="#impl-Jz%3C%26mut+Label%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Jz.html" title="trait juicebox_asm::insn::Jz">Jz</a><&mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.jz" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/jz.rs.html#5-7">source</a><a href="#method.jz" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Jz.html#tymethod.jz" class="fn">jz</a>(&mut self, op1: &mut <a class="struct" href="struct.Label.html" title="struct juicebox_asm::Label">Label</a>)</h4></section></summary><div class='docblock'>Emit a conditional jump if zero instruction (<code>ZF = 1</code>).</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#110-114">source</a><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-16" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#111-113">source</a><a href="#method.mov-16" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#44-48">source</a><a href="#impl-Mov%3CMemOp,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-6" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#45-47">source</a><a href="#method.mov-6" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#38-42">source</a><a href="#impl-Mov%3CMemOp,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-5" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#39-41">source</a><a href="#method.mov-5" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#32-36">source</a><a href="#impl-Mov%3CMemOp,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-4" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#33-35">source</a><a href="#method.mov-4" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Reg8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#50-54">source</a><a href="#impl-Mov%3CMemOp,+Reg8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-7" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#51-53">source</a><a href="#method.mov-7" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg16,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#96-100">source</a><a href="#impl-Mov%3CReg16,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-14" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#97-99">source</a><a href="#method.mov-14" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg16,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#70-74">source</a><a href="#impl-Mov%3CReg16,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-10" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#71-73">source</a><a href="#method.mov-10" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg16,+Reg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#18-22">source</a><a href="#impl-Mov%3CReg16,+Reg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#19-21">source</a><a href="#method.mov-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, op2: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg32,+Imm32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#90-94">source</a><a href="#impl-Mov%3CReg32,+Imm32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="struct" href="struct.Imm32.html" title="struct juicebox_asm::Imm32">Imm32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-13" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#91-93">source</a><a href="#method.mov-13" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="struct" href="struct.Imm32.html" title="struct juicebox_asm::Imm32">Imm32</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg32,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#64-68">source</a><a href="#impl-Mov%3CReg32,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-9" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#65-67">source</a><a href="#method.mov-9" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg32,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#12-16">source</a><a href="#impl-Mov%3CReg32,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#13-15">source</a><a href="#method.mov-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+Imm64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#84-88">source</a><a href="#impl-Mov%3CReg64,+Imm64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="struct" href="struct.Imm64.html" title="struct juicebox_asm::Imm64">Imm64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-12" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#85-87">source</a><a href="#method.mov-12" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="struct" href="struct.Imm64.html" title="struct juicebox_asm::Imm64">Imm64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#58-62">source</a><a href="#impl-Mov%3CReg64,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-8" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#59-61">source</a><a href="#method.mov-8" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#6-10">source</a><a href="#impl-Mov%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#7-9">source</a><a href="#method.mov" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg8,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#102-106">source</a><a href="#impl-Mov%3CReg8,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-15" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#103-105">source</a><a href="#method.mov-15" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg8,+MemOp%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#76-80">source</a><a href="#impl-Mov%3CReg8,+MemOp%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-11" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#77-79">source</a><a href="#method.mov-11" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, op2: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg8,+Reg8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#24-28">source</a><a href="#impl-Mov%3CReg8,+Reg8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#25-27">source</a><a href="#method.mov-3" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, op2: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Pop%3CReg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#10-14">source</a><a href="#impl-Pop%3CReg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Pop.html" title="trait juicebox_asm::insn::Pop">Pop</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pop-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#11-13">source</a><a href="#method.pop-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Pop.html#tymethod.pop" class="fn">pop</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit a pop instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Pop%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#4-8">source</a><a href="#impl-Pop%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Pop.html" title="trait juicebox_asm::insn::Pop">Pop</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pop" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/pop.rs.html#5-7">source</a><a href="#method.pop" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Pop.html#tymethod.pop" class="fn">pop</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a pop instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Push%3CReg16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#10-14">source</a><a href="#impl-Push%3CReg16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Push.html" title="trait juicebox_asm::insn::Push">Push</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.push-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#11-13">source</a><a href="#method.push-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Push.html#tymethod.push" class="fn">push</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>)</h4></section></summary><div class='docblock'>Emit a push instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Push%3CReg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#4-8">source</a><a href="#impl-Push%3CReg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Push.html" title="trait juicebox_asm::insn::Push">Push</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.push" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/push.rs.html#5-7">source</a><a href="#method.push" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Push.html#tymethod.push" class="fn">push</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a push instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/sub.rs.html#10-14">source</a><a href="#impl-Sub%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Sub.html" title="trait juicebox_asm::insn::Sub">Sub</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/sub.rs.html#11-13">source</a><a href="#method.sub-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Sub.html#tymethod.sub" class="fn">sub</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit an sub instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/sub.rs.html#4-8">source</a><a href="#impl-Sub%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Sub.html" title="trait juicebox_asm::insn::Sub">Sub</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/sub.rs.html#5-7">source</a><a href="#method.sub" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Sub.html#tymethod.sub" class="fn">sub</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit an sub instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#16-20">source</a><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#17-19">source</a><a href="#method.test-2" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CReg32,+Reg32%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#10-14">source</a><a href="#impl-Test%3CReg32,+Reg32%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#11-13">source</a><a href="#method.test-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>, op2: <a class="enum" href="enum.Reg32.html" title="enum juicebox_asm::Reg32">Reg32</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#4-8">source</a><a href="#impl-Test%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#5-7">source</a><a href="#method.test" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Xor%3CReg64,+Reg64%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/xor.rs.html#4-8">source</a><a href="#impl-Xor%3CReg64,+Reg64%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Xor.html" title="trait juicebox_asm::insn::Xor">Xor</a><<a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.xor" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/xor.rs.html#5-7">source</a><a href="#method.xor" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Xor.html#tymethod.xor" class="fn">xor</a>(&mut self, op1: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>, op2: <a class="enum" href="enum.Reg64.html" title="enum juicebox_asm::Reg64">Reg64</a>)</h4></section></summary><div class='docblock'>Emit a xor instruction.</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Asm" class="impl"><a href="#impl-Freeze-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-RefUnwindSafe-for-Asm" class="impl"><a href="#impl-RefUnwindSafe-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Send-for-Asm" class="impl"><a href="#impl-Send-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Sync-for-Asm" class="impl"><a href="#impl-Sync-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-Unpin-for-Asm" class="impl"><a href="#impl-Unpin-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section><section id="impl-UnwindSafe-for-Asm" class="impl"><a href="#impl-UnwindSafe-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#139">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.83.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#209">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#211">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#217">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#218">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p> diff --git a/juicebox_asm/struct.Imm16.html b/juicebox_asm/struct.Imm16.html index c6e11c1..3cd2347 100644 --- a/juicebox_asm/struct.Imm16.html +++ b/juicebox_asm/struct.Imm16.html @@ -1,5 +1,5 @@ <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Type representing a 16 bit immediate."><title>Imm16 in juicebox_asm - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Imm16</a></h2><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" title="Add<MemOp, Imm16>">Add<MemOp, Imm16></a></li><li><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" title="Cmp<MemOp, Imm16>">Cmp<MemOp, Imm16></a></li><li><a href="#impl-From%3Ci16%3E-for-Imm16" title="From<i16>">From<i16></a></li><li><a href="#impl-From%3Ci8%3E-for-Imm16" title="From<i8>">From<i8></a></li><li><a href="#impl-From%3Cu16%3E-for-Imm16" title="From<u16>">From<u16></a></li><li><a href="#impl-From%3Cu8%3E-for-Imm16" title="From<u8>">From<u8></a></li><li><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" title="Mov<MemOp, Imm16>">Mov<MemOp, Imm16></a></li><li><a href="#impl-Mov%3CReg16,+Imm16%3E-for-Asm" title="Mov<Reg16, Imm16>">Mov<Reg16, Imm16></a></li><li><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" title="Test<MemOp, Imm16>">Test<MemOp, Imm16></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Imm16" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Imm16" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Imm16" title="Send">Send</a></li><li><a href="#impl-Sync-for-Imm16" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Imm16" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Imm16" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate juicebox_<wbr>asm</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">juicebox_asm</a></span><h1>Struct <span class="struct">Imm16</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/juicebox_asm/imm.rs.html#39-42">source</a> </span></div><pre class="rust item-decl"><code>pub struct Imm16(<span class="comment">/* private fields */</span>);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Type representing a 16 bit immediate.</p> -</div></details><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#28-32">source</a><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#29-31">source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#10-14">source</a><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#11-13">source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci16%3E-for-Imm16" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#impl-From%3Ci16%3E-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i16.html">i16</a>> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i16.html">i16</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci8%3E-for-Imm16" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#impl-From%3Ci8%3E-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i8.html">i8</a>> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#method.from-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i8.html">i8</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu16%3E-for-Imm16" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#impl-From%3Cu16%3E-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u16.html">u16</a>> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u16.html">u16</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu8%3E-for-Imm16" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#impl-From%3Cu8%3E-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u8.html">u8</a>> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u8.html">u8</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#110-114">source</a><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#111-113">source</a><a href="#method.mov-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg16,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#96-100">source</a><a href="#impl-Mov%3CReg16,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#97-99">source</a><a href="#method.mov" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#16-20">source</a><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#17-19">source</a><a href="#method.test" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Imm16" class="impl"><a href="#impl-Freeze-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section><section id="impl-RefUnwindSafe-for-Imm16" class="impl"><a href="#impl-RefUnwindSafe-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section><section id="impl-Send-for-Imm16" class="impl"><a href="#impl-Send-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section><section id="impl-Sync-for-Imm16" class="impl"><a href="#impl-Sync-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section><section id="impl-Unpin-for-Imm16" class="impl"><a href="#impl-Unpin-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section><section id="impl-UnwindSafe-for-Imm16" class="impl"><a href="#impl-UnwindSafe-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where +</div></details><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#34-38">source</a><a href="#impl-Add%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#35-37">source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#10-14">source</a><a href="#impl-Cmp%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#11-13">source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci16%3E-for-Imm16" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#impl-From%3Ci16%3E-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i16.html">i16</a>> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i16.html">i16</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci8%3E-for-Imm16" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#impl-From%3Ci8%3E-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i8.html">i8</a>> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#method.from-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i8.html">i8</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu16%3E-for-Imm16" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#impl-From%3Cu16%3E-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u16.html">u16</a>> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u16.html">u16</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu8%3E-for-Imm16" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#impl-From%3Cu8%3E-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u8.html">u8</a>> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#39-42">source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u8.html">u8</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#110-114">source</a><a href="#impl-Mov%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#111-113">source</a><a href="#method.mov-1" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg16,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#96-100">source</a><a href="#impl-Mov%3CReg16,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#97-99">source</a><a href="#method.mov" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg16.html" title="enum juicebox_asm::Reg16">Reg16</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#16-20">source</a><a href="#impl-Test%3CMemOp,+Imm16%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Test.html" title="trait juicebox_asm::insn::Test">Test</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.test" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/test.rs.html#17-19">source</a><a href="#method.test" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Test.html#tymethod.test" class="fn">test</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a>)</h4></section></summary><div class='docblock'>Emit a logical compare instruction. <a href="insn/trait.Test.html#tymethod.test">Read more</a></div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Imm16" class="impl"><a href="#impl-Freeze-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section><section id="impl-RefUnwindSafe-for-Imm16" class="impl"><a href="#impl-RefUnwindSafe-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section><section id="impl-Send-for-Imm16" class="impl"><a href="#impl-Send-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section><section id="impl-Sync-for-Imm16" class="impl"><a href="#impl-Sync-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section><section id="impl-Unpin-for-Imm16" class="impl"><a href="#impl-Unpin-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section><section id="impl-UnwindSafe-for-Imm16" class="impl"><a href="#impl-UnwindSafe-for-Imm16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Imm16.html" title="struct juicebox_asm::Imm16">Imm16</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#139">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.83.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#209">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#211">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#217">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#218">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#768">source</a><a href="#method.from-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p> diff --git a/juicebox_asm/struct.Imm8.html b/juicebox_asm/struct.Imm8.html index 09ac7f4..cf81cbe 100644 --- a/juicebox_asm/struct.Imm8.html +++ b/juicebox_asm/struct.Imm8.html @@ -1,5 +1,5 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Type representing an 8 bit immediate."><title>Imm8 in juicebox_asm - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Imm8</a></h2><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" title="Cmp<MemOp, Imm8>">Cmp<MemOp, Imm8></a></li><li><a href="#impl-From%3Ci8%3E-for-Imm8" title="From<i8>">From<i8></a></li><li><a href="#impl-From%3Cu8%3E-for-Imm8" title="From<u8>">From<u8></a></li><li><a href="#impl-Mov%3CReg8,+Imm8%3E-for-Asm" title="Mov<Reg8, Imm8>">Mov<Reg8, Imm8></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Imm8" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Imm8" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Imm8" title="Send">Send</a></li><li><a href="#impl-Sync-for-Imm8" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Imm8" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Imm8" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate juicebox_<wbr>asm</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">juicebox_asm</a></span><h1>Struct <span class="struct">Imm8</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/juicebox_asm/imm.rs.html#35-38">source</a> </span></div><pre class="rust item-decl"><code>pub struct Imm8(<span class="comment">/* private fields */</span>);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Type representing an 8 bit immediate.</p> -</div></details><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#4-8">source</a><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#5-7">source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci8%3E-for-Imm8" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#35-38">source</a><a href="#impl-From%3Ci8%3E-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i8.html">i8</a>> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#35-38">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i8.html">i8</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu8%3E-for-Imm8" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#35-38">source</a><a href="#impl-From%3Cu8%3E-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u8.html">u8</a>> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#35-38">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u8.html">u8</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg8,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#102-106">source</a><a href="#impl-Mov%3CReg8,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#103-105">source</a><a href="#method.mov" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Imm8" class="impl"><a href="#impl-Freeze-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section><section id="impl-RefUnwindSafe-for-Imm8" class="impl"><a href="#impl-RefUnwindSafe-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section><section id="impl-Send-for-Imm8" class="impl"><a href="#impl-Send-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section><section id="impl-Sync-for-Imm8" class="impl"><a href="#impl-Sync-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section><section id="impl-Unpin-for-Imm8" class="impl"><a href="#impl-Unpin-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section><section id="impl-UnwindSafe-for-Imm8" class="impl"><a href="#impl-UnwindSafe-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Type representing an 8 bit immediate."><title>Imm8 in juicebox_asm - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../juicebox_asm/index.html">juicebox_<wbr>asm</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Imm8</a></h2><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add%3CMemOp,+Imm8%3E-for-Asm" title="Add<MemOp, Imm8>">Add<MemOp, Imm8></a></li><li><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" title="Cmp<MemOp, Imm8>">Cmp<MemOp, Imm8></a></li><li><a href="#impl-From%3Ci8%3E-for-Imm8" title="From<i8>">From<i8></a></li><li><a href="#impl-From%3Cu8%3E-for-Imm8" title="From<u8>">From<u8></a></li><li><a href="#impl-Mov%3CReg8,+Imm8%3E-for-Asm" title="Mov<Reg8, Imm8>">Mov<Reg8, Imm8></a></li><li><a href="#impl-Sub%3CMemOp,+Imm8%3E-for-Asm" title="Sub<MemOp, Imm8>">Sub<MemOp, Imm8></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Imm8" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Imm8" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Imm8" title="Send">Send</a></li><li><a href="#impl-Sync-for-Imm8" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Imm8" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Imm8" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate juicebox_<wbr>asm</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">juicebox_asm</a></span><h1>Struct <span class="struct">Imm8</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/juicebox_asm/imm.rs.html#35-38">source</a> </span></div><pre class="rust item-decl"><code>pub struct Imm8(<span class="comment">/* private fields */</span>);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Type representing an 8 bit immediate.</p> +</div></details><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#28-32">source</a><a href="#impl-Add%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Add.html" title="trait juicebox_asm::insn::Add">Add</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/add.rs.html#29-31">source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Add.html#tymethod.add" class="fn">add</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit an add instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#4-8">source</a><a href="#impl-Cmp%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Cmp.html" title="trait juicebox_asm::insn::Cmp">Cmp</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/cmp.rs.html#5-7">source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Cmp.html#tymethod.cmp" class="fn">cmp</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit a compare instruction. <a href="insn/trait.Cmp.html#tymethod.cmp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci8%3E-for-Imm8" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#35-38">source</a><a href="#impl-From%3Ci8%3E-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i8.html">i8</a>> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#35-38">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.i8.html">i8</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu8%3E-for-Imm8" class="impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#35-38">source</a><a href="#impl-From%3Cu8%3E-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u8.html">u8</a>> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/imm.rs.html#35-38">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(imm: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u8.html">u8</a>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mov%3CReg8,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#102-106">source</a><a href="#impl-Mov%3CReg8,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Mov.html" title="trait juicebox_asm::insn::Mov">Mov</a><<a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mov" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/mov.rs.html#103-105">source</a><a href="#method.mov" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Mov.html#tymethod.mov" class="fn">mov</a>(&mut self, op1: <a class="enum" href="enum.Reg8.html" title="enum juicebox_asm::Reg8">Reg8</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit an move instruction.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CMemOp,+Imm8%3E-for-Asm" class="impl"><a class="src rightside" href="../src/juicebox_asm/insn/sub.rs.html#10-14">source</a><a href="#impl-Sub%3CMemOp,+Imm8%3E-for-Asm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="insn/trait.Sub.html" title="trait juicebox_asm::insn::Sub">Sub</a><<a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>> for <a class="struct" href="struct.Asm.html" title="struct juicebox_asm::Asm">Asm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub" class="method trait-impl"><a class="src rightside" href="../src/juicebox_asm/insn/sub.rs.html#11-13">source</a><a href="#method.sub" class="anchor">§</a><h4 class="code-header">fn <a href="insn/trait.Sub.html#tymethod.sub" class="fn">sub</a>(&mut self, op1: <a class="enum" href="enum.MemOp.html" title="enum juicebox_asm::MemOp">MemOp</a>, op2: <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a>)</h4></section></summary><div class='docblock'>Emit an sub instruction.</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Imm8" class="impl"><a href="#impl-Freeze-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section><section id="impl-RefUnwindSafe-for-Imm8" class="impl"><a href="#impl-RefUnwindSafe-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section><section id="impl-Send-for-Imm8" class="impl"><a href="#impl-Send-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section><section id="impl-Sync-for-Imm8" class="impl"><a href="#impl-Sync-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section><section id="impl-Unpin-for-Imm8" class="impl"><a href="#impl-Unpin-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section><section id="impl-UnwindSafe-for-Imm8" class="impl"><a href="#impl-UnwindSafe-for-Imm8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Imm8.html" title="struct juicebox_asm::Imm8">Imm8</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/any.rs.html#139">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.83.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.83.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#209">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#211">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#217">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/borrow.rs.html#218">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.83.0/src/core/convert/mod.rs.html#768">source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p> diff --git a/search-index.js b/search-index.js index a99d130..618b125 100644 --- a/search-index.js +++ b/search-index.js @@ -1,4 +1,4 @@ -var searchIndex = new Map(JSON.parse('[["add",{"t":"","n":[],"q":[],"i":"","f":"","D":"b","p":[],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAAAAAA="}],["bf",{"t":"","n":[],"q":[],"i":"","f":"","D":"b","p":[],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAAAAAA="}],["fib",{"t":"","n":[],"q":[],"i":"","f":"","D":"b","p":[],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAAAAAA="}],["juicebox_asm",{"t":"FFFFFPPPFGFFFFGGGGFNNNNNNNPPPPNPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPPPNPPNNNNNNNNNNNNNNNNNNNPNNNNNNPPPPNNNPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPNPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKKKKKKKKKKKKKKKMMMMMMMMMMMMMMM","n":["Asm","Imm16","Imm32","Imm64","Imm8","Indirect","IndirectBaseIndex","IndirectDisp","Label","MemOp","MemOp16","MemOp32","MemOp64","MemOp8","Reg16","Reg32","Reg64","Reg8","Runtime","add","","","","","","add_code","ah","al","ax","bh","bind","bl","borrow","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","bp","bpl","bx","call","ch","cl","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmovnz","cmovz","cmp","","cx","dec","","","","","","dh","di","dil","dl","drop","","dump","dx","eax","ebp","ebx","ecx","edi","edx","esi","esp","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","inc","","","","","","insn","into","","","","","","","","","","","","","","","","into_code","jmp","jnz","jz","mov","","","","","","","","","","","","","","","","","new","","","nop","pop","","push","","r10","r10d","r10l","r10w","r11","r11d","r11l","r11w","r12","r12d","r12l","r12w","r13","r13d","r13l","r13w","r14","r14d","r14l","r14w","r15","r15d","r15l","r15w","r8","r8d","r8l","r8w","r9","r9d","r9l","r9w","rax","rbp","rbx","rcx","rdi","rdx","ret","rsi","rsp","si","sil","sp","spl","test","","","to_owned","","","","","try_from","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","with_profile","xor","Add","Call","Cmovnz","Cmovz","Cmp","Dec","Inc","Jmp","Jnz","Jz","Mov","Pop","Push","Test","Xor","add","call","cmovnz","cmovz","cmp","dec","inc","jmp","jnz","jz","mov","pop","push","test","xor"],"q":[[0,"juicebox_asm"],[309,"juicebox_asm::insn"],[339,"juicebox_asm::asm"],[340,"juicebox_asm::reg"],[341,"juicebox_asm::imm"],[342,"juicebox_asm::rt"],[343,"core::convert"],[344,"juicebox_asm::label"],[345,"alloc::vec"],[346,"core::result"],[347,"core::any"]],"i":"`````h00```````````d00000AdAn0j1313Al3B`A`C`CfnAb78;BhBbBfBd>:=987654;<?3210;<;><<54;<?54;<?54;<?>>>>;>>>>>><;<<:==;44444444>:=9998888877777776666666666654;<?33221100>>>>>>`>:=987654;<?3210>>>>>>>>>>>>>>>>>>>>>>:=>>>>>54<;54<;54<;54<;54<;54<;54<;54<;555555>55;<;<>>>54;<?>:=987654;<?3210>:=987654;<?3210>:=987654;<?3210=>```````````````DfDhDjDlDnE`EbEdEfEhEjElEnF`Fb","f":"```````````````````{{{f{bd}}hj}l}{{{f{bd}}nh}l}{{{f{bd}}hA`}l}{{{f{bd}}hn}l}{{{f{bd}}AbAb}l}{{{f{bd}}nn}l}{{{f{bAd}}c}e{{Aj{{Ah{Af}}}}}{}}````{{{f{bd}}{f{bAl}}}l}`{f{{f{c}}}{}}000000000000000{{{f{b}}}{{f{bc}}}{}}000000000000000```{{{f{bd}}n}l}``{{{f{n}}}n}{{{f{Ab}}}Ab}{{{f{j}}}j}{{{f{An}}}An}{{{f{h}}}h}{{f{f{bc}}}l{}}0000{fl}0000<<{{{f{bd}}hB`}l}{{{f{bd}}hA`}l}`{{{f{bd}}Ab}l}{{{f{bd}}Bb}l}{{{f{bd}}Bd}l}{{{f{bd}}Bf}l}={{{f{bd}}Bh}l}````{{{f{bAl}}}l}{{{f{bAd}}}l}{{{f{Ad}}}l}`````````{cc{}}00{AfB`}{BjB`}22{AfA`}{BjA`}{BlA`}{BnA`}{BjC`}{BnC`}{CbC`}{BlC`}:{AfC`}{CdC`}{CbCf}{BjCf}{ChCf}?{CjCf}{CdCf}{BlCf}{AfCf}{ClCf}{CnCf}{BnCf}{cc{}}0000{hBh}11{hBb}2{hBf}{hBd}4{{{f{bd}}Bh}l}{{{f{bd}}Ab}l}{{{f{bd}}Bb}l}{{{f{bd}}Bf}l}{{{f{bd}}Bd}l}{{{f{bd}}n}l}`{{}c{}}000000000000000{d{{D`{Af}}}}{{{f{bd}}{f{bAl}}}l}00{{{f{bd}}AnAn}l}{{{f{bd}}nCf}l}{{{f{bd}}jA`}l}{{{f{bd}}nh}l}{{{f{bd}}hAn}l}{{{f{bd}}hj}l}{{{f{bd}}AnB`}l}{{{f{bd}}hA`}l}{{{f{bd}}hAb}l}{{{f{bd}}Abh}l}{{{f{bd}}AbC`}l}{{{f{bd}}jj}l}{{{f{bd}}AbAb}l}{{{f{bd}}nn}l}{{{f{bd}}jh}l}{{{f{bd}}Anh}l}{{{f{bd}}hn}l}{{}d}{{}Al}{{}Ad}{{{f{bd}}}l}{{{f{bd}}n}l}{{{f{bd}}j}l}10``````````````````````````````````````2``````9?:{fc{}}0000{c{{Db{e}}}{}{}}000000000000000{{}{{Db{c}}}{}}000000000000000{fDd}0000000000000007=```````````````{{{f{bDf}}ce}l{}{}}{{{f{bDh}}c}l{}}{{{f{bDj}}ce}l{}{}}{{{f{bDl}}ce}l{}{}}{{{f{bDn}}ce}l{}{}}{{{f{bE`}}c}l{}}{{{f{bEb}}c}l{}}{{{f{bEd}}c}l{}}{{{f{bEf}}c}l{}}{{{f{bEh}}c}l{}}{{{f{bEj}}ce}l{}{}}{{{f{bEl}}c}l{}}{{{f{bEn}}c}l{}}{{{f{bF`}}ce}l{}{}}{{{f{bFb}}ce}l{}{}}","D":"Ld","p":[[0,"mut"],[5,"Asm",0,339],[1,"reference"],[6,"MemOp",0],[6,"Reg16",0,340],[1,"unit"],[6,"Reg64",0,340],[5,"Imm16",0,341],[6,"Reg32",0,340],[5,"Runtime",0,342],[1,"u8"],[1,"slice"],[10,"AsRef",343],[5,"Label",0,344],[6,"Reg8",0,340],[5,"Imm8",0,341],[5,"MemOp16",0],[5,"MemOp64",0],[5,"MemOp32",0],[5,"MemOp8",0],[1,"i8"],[1,"i16"],[1,"u16"],[5,"Imm32",0,341],[1,"u32"],[1,"i32"],[5,"Imm64",0,341],[1,"i64"],[1,"u64"],[1,"isize"],[1,"usize"],[5,"Vec",345],[6,"Result",346],[5,"TypeId",347],[10,"Add",309],[10,"Call",309],[10,"Cmovnz",309],[10,"Cmovz",309],[10,"Cmp",309],[10,"Dec",309],[10,"Inc",309],[10,"Jmp",309],[10,"Jnz",309],[10,"Jz",309],[10,"Mov",309],[10,"Pop",309],[10,"Push",309],[10,"Test",309],[10,"Xor",309]],"r":[[0,339],[1,341],[2,341],[3,341],[4,341],[8,344],[14,340],[15,340],[16,340],[17,340],[18,342]],"b":[[19,"impl-Add%3CMemOp,+Reg16%3E-for-Asm"],[20,"impl-Add%3CReg64,+MemOp%3E-for-Asm"],[21,"impl-Add%3CMemOp,+Imm16%3E-for-Asm"],[22,"impl-Add%3CMemOp,+Reg64%3E-for-Asm"],[23,"impl-Add%3CReg32,+Reg32%3E-for-Asm"],[24,"impl-Add%3CReg64,+Reg64%3E-for-Asm"],[87,"impl-Cmp%3CMemOp,+Imm8%3E-for-Asm"],[88,"impl-Cmp%3CMemOp,+Imm16%3E-for-Asm"],[90,"impl-Dec%3CReg32%3E-for-Asm"],[91,"impl-Dec%3CMemOp16%3E-for-Asm"],[92,"impl-Dec%3CMemOp64%3E-for-Asm"],[93,"impl-Dec%3CMemOp32%3E-for-Asm"],[94,"impl-Dec%3CReg64%3E-for-Asm"],[95,"impl-Dec%3CMemOp8%3E-for-Asm"],[115,"impl-From%3Cu8%3E-for-Imm8"],[116,"impl-From%3Ci8%3E-for-Imm8"],[119,"impl-From%3Cu8%3E-for-Imm16"],[120,"impl-From%3Ci8%3E-for-Imm16"],[121,"impl-From%3Ci16%3E-for-Imm16"],[122,"impl-From%3Cu16%3E-for-Imm16"],[123,"impl-From%3Ci8%3E-for-Imm32"],[124,"impl-From%3Cu16%3E-for-Imm32"],[125,"impl-From%3Cu32%3E-for-Imm32"],[126,"impl-From%3Ci16%3E-for-Imm32"],[128,"impl-From%3Cu8%3E-for-Imm32"],[129,"impl-From%3Ci32%3E-for-Imm32"],[130,"impl-From%3Cu32%3E-for-Imm64"],[131,"impl-From%3Ci8%3E-for-Imm64"],[132,"impl-From%3Ci64%3E-for-Imm64"],[134,"impl-From%3Cu64%3E-for-Imm64"],[135,"impl-From%3Ci32%3E-for-Imm64"],[136,"impl-From%3Ci16%3E-for-Imm64"],[137,"impl-From%3Cu8%3E-for-Imm64"],[138,"impl-From%3Cisize%3E-for-Imm64"],[139,"impl-From%3Cusize%3E-for-Imm64"],[140,"impl-From%3Cu16%3E-for-Imm64"],[154,"impl-Inc%3CMemOp8%3E-for-Asm"],[155,"impl-Inc%3CReg32%3E-for-Asm"],[156,"impl-Inc%3CMemOp16%3E-for-Asm"],[157,"impl-Inc%3CMemOp32%3E-for-Asm"],[158,"impl-Inc%3CMemOp64%3E-for-Asm"],[159,"impl-Inc%3CReg64%3E-for-Asm"],[181,"impl-Mov%3CReg8,+Reg8%3E-for-Asm"],[182,"impl-Mov%3CReg64,+Imm64%3E-for-Asm"],[183,"impl-Mov%3CReg16,+Imm16%3E-for-Asm"],[184,"impl-Mov%3CReg64,+MemOp%3E-for-Asm"],[185,"impl-Mov%3CMemOp,+Reg8%3E-for-Asm"],[186,"impl-Mov%3CMemOp,+Reg16%3E-for-Asm"],[187,"impl-Mov%3CReg8,+Imm8%3E-for-Asm"],[188,"impl-Mov%3CMemOp,+Imm16%3E-for-Asm"],[189,"impl-Mov%3CMemOp,+Reg32%3E-for-Asm"],[190,"impl-Mov%3CReg32,+MemOp%3E-for-Asm"],[191,"impl-Mov%3CReg32,+Imm32%3E-for-Asm"],[192,"impl-Mov%3CReg16,+Reg16%3E-for-Asm"],[193,"impl-Mov%3CReg32,+Reg32%3E-for-Asm"],[194,"impl-Mov%3CReg64,+Reg64%3E-for-Asm"],[195,"impl-Mov%3CReg16,+MemOp%3E-for-Asm"],[196,"impl-Mov%3CReg8,+MemOp%3E-for-Asm"],[197,"impl-Mov%3CMemOp,+Reg64%3E-for-Asm"],[202,"impl-Pop%3CReg64%3E-for-Asm"],[203,"impl-Pop%3CReg16%3E-for-Asm"],[204,"impl-Push%3CReg64%3E-for-Asm"],[205,"impl-Push%3CReg16%3E-for-Asm"],[251,"impl-Test%3CReg64,+Reg64%3E-for-Asm"],[252,"impl-Test%3CMemOp,+Imm16%3E-for-Asm"],[253,"impl-Test%3CReg32,+Reg32%3E-for-Asm"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPEADQAUAAUAGwADACAARQBoAAgAdAABAHgABwCBAAQAhwAGAJsABQCzABMAywApAPYAPQA1AQAA"}],["tiny_vm",{"t":"PPPPPPPFPPPFPGGFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHHHNNNNNNNNNNNNNNNNNNNNNNN","n":["A","Add","Addi","B","Branch","BranchZero","C","Fixup","Halt","Load","LoadImm","PhysAddr","Store","TinyInsn","TinyReg","TinyVm","bind","borrow","","","","","borrow_mut","","","","","clone","","clone_into","","clone_to_uninit","","dump","eq","","fmt","","from","","","","","interp","into","","","","","","jit","make_tinyvm_fib","make_tinyvm_jit_perf","make_tinyvm_jit_test","new","","read_mem","read_reg","to_owned","","try_from","","","","","try_into","","","","","type_id","","","","","write_mem","write_reg"],"q":[[0,"tiny_vm"],[77,"alloc::vec"],[78,"core::fmt"],[79,"core::result"],[80,"core::any"]],"i":"nf01001`000`0```bAhA`24310243434343043431024301102430```02004310243102431024300","f":"````````````````{{b{j{d{h{f}}}}}l}{j{{j{c}}}{}}0000{{{j{d}}}{{j{dc}}}{}}0000{{{j{n}}}n}{{{j{f}}}f}{{j{j{dc}}}l{}}0{jl}0{{{j{A`}}}l}{{{j{n}}{j{n}}}Ab}{{{j{f}}{j{f}}}Ab}{{{j{n}}{j{dAd}}}Af}{{{j{f}}{j{dAd}}}Af}{cc{}}0000{{{j{dA`}}}l}{AhAj}{{}c{}}00002{Al{{h{f}}}}{{}{{h{f}}}}0{{{h{f}}}A`}{Ajb}{{{j{A`}}Ah}Al}{{{j{A`}}n}Al}{jc{}}0{c{{An{e}}}{}{}}0000{{}{{An{c}}}{}}0000{jB`}0000{{{j{dA`}}AhAl}l}{{{j{dA`}}nAl}l}","D":"Dj","p":[[5,"Fixup",0],[0,"mut"],[6,"TinyInsn",0],[5,"Vec",77],[1,"reference"],[1,"unit"],[6,"TinyReg",0],[5,"TinyVm",0],[1,"bool"],[5,"Formatter",78],[8,"Result",78],[5,"PhysAddr",0],[1,"usize"],[1,"u16"],[6,"Result",79],[5,"TypeId",80]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAACgABwABAAAABAAAAAcAAAASAA8AIwADAC0AAAA7ABAA"}]]')); +var searchIndex = new Map(JSON.parse('[["add",{"t":"","n":[],"q":[],"i":"","f":"","D":"b","p":[],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAAAAAA="}],["bf",{"t":"","n":[],"q":[],"i":"","f":"","D":"b","p":[],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAAAAAA="}],["fib",{"t":"","n":[],"q":[],"i":"","f":"","D":"b","p":[],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAAAAAA="}],["gen",{"t":"","n":[],"q":[],"i":"","f":"","D":"b","p":[],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAAAAAA="}],["juicebox_asm",{"t":"FFFFFPPPFGFFFFGGGGFNNNNNNNNPPPPNPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPPPNPPNNNNNNNNNNNNNNNNNNNPNNNNNNPPPPNNNPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPNPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKKKKKKKKKKKKKKKKMMMMMMMMMMMMMMMM","n":["Asm","Imm16","Imm32","Imm64","Imm8","Indirect","IndirectBaseIndex","IndirectDisp","Label","MemOp","MemOp16","MemOp32","MemOp64","MemOp8","Reg16","Reg32","Reg64","Reg8","Runtime","add","","","","","","","add_code","ah","al","ax","bh","bind","bl","borrow","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","bp","bpl","bx","call","ch","cl","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmovnz","cmovz","cmp","","cx","dec","","","","","","dh","di","dil","dl","drop","","dump","dx","eax","ebp","ebx","ecx","edi","edx","esi","esp","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","inc","","","","","","insn","into","","","","","","","","","","","","","","","","into_code","jmp","jnz","jz","mov","","","","","","","","","","","","","","","","","new","","","nop","pop","","push","","r10","r10d","r10l","r10w","r11","r11d","r11l","r11w","r12","r12d","r12l","r12w","r13","r13d","r13l","r13w","r14","r14d","r14l","r14w","r15","r15d","r15l","r15w","r8","r8d","r8l","r8w","r9","r9d","r9l","r9w","rax","rbp","rbx","rcx","rdi","rdx","ret","rsi","rsp","si","sil","sp","spl","sub","","test","","","to_owned","","","","","try_from","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","with_profile","xor","Add","Call","Cmovnz","Cmovz","Cmp","Dec","Inc","Jmp","Jnz","Jz","Mov","Pop","Push","Sub","Test","Xor","add","call","cmovnz","cmovz","cmp","dec","inc","jmp","jnz","jz","mov","pop","push","sub","test","xor"],"q":[[0,"juicebox_asm"],[312,"juicebox_asm::insn"],[344,"juicebox_asm::asm"],[345,"juicebox_asm::reg"],[346,"juicebox_asm::imm"],[347,"juicebox_asm::rt"],[348,"core::convert"],[349,"juicebox_asm::label"],[350,"alloc::vec"],[351,"core::result"],[352,"core::any"]],"i":"`````l00```````````d000000AfB`0Ab1313An3A`nC`CfhAd78;BhBdBfBb>:=987654;<?3210;<;><<54;<?54;<?54;<?>>>>;>>>>>><;<<:==;44444444>:=9998888877777776666666666654;<?33221100>>>>>>`>:=987654;<?3210>>>>>>>>>>>>>>>>>>>>>>:=>>>>>54<;54<;54<;54<;54<;54<;54<;54<;555555>55;<;<>>>>>54;<?>:=987654;<?3210>:=987654;<?3210>:=987654;<?3210=>````````````````DfDhDjDlDnE`EbEdEfEhEjElEnF`FbFd","f":"```````````````````{{{f{bd}}hh}j}{{{f{bd}}hl}j}{{{f{bd}}ln}j}{{{f{bd}}lA`}j}{{{f{bd}}lAb}j}{{{f{bd}}lh}j}{{{f{bd}}AdAd}j}{{{f{bAf}}c}e{{Al{{Aj{Ah}}}}}{}}````{{{f{bd}}{f{bAn}}}j}`{f{{f{c}}}{}}000000000000000{{{f{b}}}{{f{bc}}}{}}000000000000000```{{{f{bd}}h}j}``{{{f{h}}}h}{{{f{Ad}}}Ad}{{{f{Ab}}}Ab}{{{f{B`}}}B`}{{{f{l}}}l}{{f{f{bc}}}j{}}0000{fj}0000{{{f{bd}}hh}j}0{{{f{bd}}ln}j}{{{f{bd}}lA`}j}`{{{f{bd}}Ad}j};{{{f{bd}}Bb}j}{{{f{bd}}Bd}j}{{{f{bd}}Bf}j}{{{f{bd}}Bh}j}````{{{f{bAn}}}j}{{{f{bAf}}}j}{{{f{Af}}}j}`````````{cc{}}000{AhA`}{BjA`}{Ahn}3{Bjn}{Bln}{Bnn}6{BjC`}{AhC`}{BnC`}{BlC`}{CbC`}{CdC`}{AhCf}{ChCf}>{CjCf}{ClCf}{BjCf}{BnCf}{BlCf}{CbCf}{CdCf}{CnCf}{cc{}}00000{lBh}{lBd}2{lBf}3{lBb}4{{{f{bd}}Bb}j}{{{f{bd}}h}j}{{{f{bd}}Ad}j}{{{f{bd}}Bh}j}{{{f{bd}}Bd}j}{{{f{bd}}Bf}j}`{{}c{}}000000000000000{d{{D`{Ah}}}}{{{f{bd}}{f{bAn}}}j}00{{{f{bd}}lAd}j}{{{f{bd}}Abl}j}{{{f{bd}}Adl}j}{{{f{bd}}hl}j}{{{f{bd}}lB`}j}{{{f{bd}}lAb}j}{{{f{bd}}Abn}j}{{{f{bd}}B`A`}j}{{{f{bd}}B`l}j}{{{f{bd}}lh}j}{{{f{bd}}B`B`}j}{{{f{bd}}AbAb}j}{{{f{bd}}AdAd}j}{{{f{bd}}hh}j}{{{f{bd}}hCf}j}{{{f{bd}}ln}j}{{{f{bd}}AdC`}j}{{}d}{{}An}{{}Af}{{{f{bd}}}j}{{{f{bd}}h}j}{{{f{bd}}Ab}j}01``````````````````````````````````````2``````9{{{f{bd}}lA`}j}8;:{fc{}}0000{c{{Db{e}}}{}{}}000000000000000{{}{{Db{c}}}{}}000000000000000{fDd}0000000000000008>````````````````{{{f{bDf}}ce}j{}{}}{{{f{bDh}}c}j{}}{{{f{bDj}}ce}j{}{}}{{{f{bDl}}ce}j{}{}}{{{f{bDn}}ce}j{}{}}{{{f{bE`}}c}j{}}{{{f{bEb}}c}j{}}{{{f{bEd}}c}j{}}{{{f{bEf}}c}j{}}{{{f{bEh}}c}j{}}{{{f{bEj}}ce}j{}{}}{{{f{bEl}}c}j{}}{{{f{bEn}}c}j{}}{{{f{bF`}}ce}j{}{}}{{{f{bFb}}ce}j{}{}}{{{f{bFd}}ce}j{}{}}","D":"Lh","p":[[0,"mut"],[5,"Asm",0,344],[1,"reference"],[6,"Reg64",0,345],[1,"unit"],[6,"MemOp",0],[5,"Imm16",0,346],[5,"Imm8",0,346],[6,"Reg16",0,345],[6,"Reg32",0,345],[5,"Runtime",0,347],[1,"u8"],[1,"slice"],[10,"AsRef",348],[5,"Label",0,349],[6,"Reg8",0,345],[5,"MemOp64",0],[5,"MemOp16",0],[5,"MemOp32",0],[5,"MemOp8",0],[1,"i8"],[1,"u16"],[1,"i16"],[5,"Imm32",0,346],[1,"i32"],[1,"u32"],[5,"Imm64",0,346],[1,"i64"],[1,"isize"],[1,"usize"],[1,"u64"],[5,"Vec",350],[6,"Result",351],[5,"TypeId",352],[10,"Add",312],[10,"Call",312],[10,"Cmovnz",312],[10,"Cmovz",312],[10,"Cmp",312],[10,"Dec",312],[10,"Inc",312],[10,"Jmp",312],[10,"Jnz",312],[10,"Jz",312],[10,"Mov",312],[10,"Pop",312],[10,"Push",312],[10,"Sub",312],[10,"Test",312],[10,"Xor",312]],"r":[[0,344],[1,346],[2,346],[3,346],[4,346],[8,349],[14,345],[15,345],[16,345],[17,345],[18,347]],"b":[[19,"impl-Add%3CReg64,+Reg64%3E-for-Asm"],[20,"impl-Add%3CReg64,+MemOp%3E-for-Asm"],[21,"impl-Add%3CMemOp,+Imm16%3E-for-Asm"],[22,"impl-Add%3CMemOp,+Imm8%3E-for-Asm"],[23,"impl-Add%3CMemOp,+Reg16%3E-for-Asm"],[24,"impl-Add%3CMemOp,+Reg64%3E-for-Asm"],[25,"impl-Add%3CReg32,+Reg32%3E-for-Asm"],[88,"impl-Cmp%3CMemOp,+Imm16%3E-for-Asm"],[89,"impl-Cmp%3CMemOp,+Imm8%3E-for-Asm"],[91,"impl-Dec%3CReg32%3E-for-Asm"],[92,"impl-Dec%3CReg64%3E-for-Asm"],[93,"impl-Dec%3CMemOp64%3E-for-Asm"],[94,"impl-Dec%3CMemOp16%3E-for-Asm"],[95,"impl-Dec%3CMemOp32%3E-for-Asm"],[96,"impl-Dec%3CMemOp8%3E-for-Asm"],[117,"impl-From%3Cu8%3E-for-Imm8"],[118,"impl-From%3Ci8%3E-for-Imm8"],[119,"impl-From%3Cu8%3E-for-Imm16"],[121,"impl-From%3Ci8%3E-for-Imm16"],[122,"impl-From%3Cu16%3E-for-Imm16"],[123,"impl-From%3Ci16%3E-for-Imm16"],[125,"impl-From%3Ci8%3E-for-Imm32"],[126,"impl-From%3Cu8%3E-for-Imm32"],[127,"impl-From%3Ci16%3E-for-Imm32"],[128,"impl-From%3Cu16%3E-for-Imm32"],[129,"impl-From%3Ci32%3E-for-Imm32"],[130,"impl-From%3Cu32%3E-for-Imm32"],[131,"impl-From%3Cu8%3E-for-Imm64"],[132,"impl-From%3Ci64%3E-for-Imm64"],[134,"impl-From%3Cisize%3E-for-Imm64"],[135,"impl-From%3Cusize%3E-for-Imm64"],[136,"impl-From%3Ci8%3E-for-Imm64"],[137,"impl-From%3Ci16%3E-for-Imm64"],[138,"impl-From%3Cu16%3E-for-Imm64"],[139,"impl-From%3Ci32%3E-for-Imm64"],[140,"impl-From%3Cu32%3E-for-Imm64"],[141,"impl-From%3Cu64%3E-for-Imm64"],[155,"impl-Inc%3CMemOp64%3E-for-Asm"],[156,"impl-Inc%3CReg64%3E-for-Asm"],[157,"impl-Inc%3CReg32%3E-for-Asm"],[158,"impl-Inc%3CMemOp8%3E-for-Asm"],[159,"impl-Inc%3CMemOp16%3E-for-Asm"],[160,"impl-Inc%3CMemOp32%3E-for-Asm"],[182,"impl-Mov%3CMemOp,+Reg32%3E-for-Asm"],[183,"impl-Mov%3CReg16,+MemOp%3E-for-Asm"],[184,"impl-Mov%3CReg32,+MemOp%3E-for-Asm"],[185,"impl-Mov%3CReg64,+MemOp%3E-for-Asm"],[186,"impl-Mov%3CMemOp,+Reg8%3E-for-Asm"],[187,"impl-Mov%3CMemOp,+Reg16%3E-for-Asm"],[188,"impl-Mov%3CReg16,+Imm16%3E-for-Asm"],[189,"impl-Mov%3CReg8,+Imm8%3E-for-Asm"],[190,"impl-Mov%3CReg8,+MemOp%3E-for-Asm"],[191,"impl-Mov%3CMemOp,+Reg64%3E-for-Asm"],[192,"impl-Mov%3CReg8,+Reg8%3E-for-Asm"],[193,"impl-Mov%3CReg16,+Reg16%3E-for-Asm"],[194,"impl-Mov%3CReg32,+Reg32%3E-for-Asm"],[195,"impl-Mov%3CReg64,+Reg64%3E-for-Asm"],[196,"impl-Mov%3CReg64,+Imm64%3E-for-Asm"],[197,"impl-Mov%3CMemOp,+Imm16%3E-for-Asm"],[198,"impl-Mov%3CReg32,+Imm32%3E-for-Asm"],[203,"impl-Pop%3CReg64%3E-for-Asm"],[204,"impl-Pop%3CReg16%3E-for-Asm"],[205,"impl-Push%3CReg16%3E-for-Asm"],[206,"impl-Push%3CReg64%3E-for-Asm"],[252,"impl-Sub%3CReg64,+Reg64%3E-for-Asm"],[253,"impl-Sub%3CMemOp,+Imm8%3E-for-Asm"],[254,"impl-Test%3CMemOp,+Imm16%3E-for-Asm"],[255,"impl-Test%3CReg32,+Reg32%3E-for-Asm"],[256,"impl-Test%3CReg64,+Reg64%3E-for-Asm"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPQADQAUAAYAHAADACEARQBpAAgAdgACAHoAAgB+AAcAhwAHAJwABQC0ABMAzAApAPcAPwA4AQAA"}],["tiny_vm",{"t":"PPPPPPPFPPPFPGGFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHHHNNNNNNNNNNNNNNNNNNNNNNN","n":["A","Add","Addi","B","Branch","BranchZero","C","Fixup","Halt","Load","LoadImm","PhysAddr","Store","TinyInsn","TinyReg","TinyVm","bind","borrow","","","","","borrow_mut","","","","","clone","","clone_into","","clone_to_uninit","","dump","eq","","fmt","","from","","","","","interp","into","","","","","","jit","make_tinyvm_fib","make_tinyvm_jit_perf","make_tinyvm_jit_test","new","","read_mem","read_reg","to_owned","","try_from","","","","","try_into","","","","","type_id","","","","","write_mem","write_reg"],"q":[[0,"tiny_vm"],[77,"alloc::vec"],[78,"core::fmt"],[79,"core::result"],[80,"core::any"]],"i":"nf01001`000`0```bAhA`24310243434343043431024301102430```02004310243102431024300","f":"````````````````{{b{j{d{h{f}}}}}l}{j{{j{c}}}{}}0000{{{j{d}}}{{j{dc}}}{}}0000{{{j{n}}}n}{{{j{f}}}f}{{j{j{dc}}}l{}}0{jl}0{{{j{A`}}}l}{{{j{n}}{j{n}}}Ab}{{{j{f}}{j{f}}}Ab}{{{j{n}}{j{dAd}}}Af}{{{j{f}}{j{dAd}}}Af}{cc{}}0000{{{j{dA`}}}l}{AhAj}{{}c{}}00002{Al{{h{f}}}}{{}{{h{f}}}}0{{{h{f}}}A`}{Ajb}{{{j{A`}}Ah}Al}{{{j{A`}}n}Al}{jc{}}0{c{{An{e}}}{}{}}0000{{}{{An{c}}}{}}0000{jB`}0000{{{j{dA`}}AhAl}l}{{{j{dA`}}nAl}l}","D":"Dj","p":[[5,"Fixup",0],[0,"mut"],[6,"TinyInsn",0],[5,"Vec",77],[1,"reference"],[1,"unit"],[6,"TinyReg",0],[5,"TinyVm",0],[1,"bool"],[5,"Formatter",78],[8,"Result",78],[5,"PhysAddr",0],[1,"usize"],[1,"u16"],[6,"Result",79],[5,"TypeId",80]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAACgABwABAAAABAAAAAcAAAASAA8AIwADAC0AAAA7ABAA"}]]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); -//{"start":39,"fragment_lengths":[111,111,112,7721,1542]}
\ No newline at end of file +//{"start":39,"fragment_lengths":[111,111,112,112,7962,1542]}
\ No newline at end of file diff --git a/search.desc/gen/gen-desc-0-.js b/search.desc/gen/gen-desc-0-.js new file mode 100644 index 0000000..dac6144 --- /dev/null +++ b/search.desc/gen/gen-desc-0-.js @@ -0,0 +1 @@ +searchState.loadedDescShard("gen", 0, "Add example.")
\ No newline at end of file diff --git a/search.desc/juicebox_asm/juicebox_asm-desc-0-.js b/search.desc/juicebox_asm/juicebox_asm-desc-0-.js index 58108fc..169ae31 100644 --- a/search.desc/juicebox_asm/juicebox_asm-desc-0-.js +++ b/search.desc/juicebox_asm/juicebox_asm-desc-0-.js @@ -1 +1 @@ -searchState.loadedDescShard("juicebox_asm", 0, "A simple <code>x64</code> jit assembler with a minimal runtime to …\n<code>x64</code> jit assembler.\nType representing a 16 bit immediate.\nType representing a 32 bit immediate.\nType representing a 64 bit immediate.\nType representing an 8 bit immediate.\nAn indirect memory operand, eg <code>mov [rax], rcx</code>.\nAn indirect memory operand in the form base + index, eg …\nAn indirect memory operand with additional displacement, …\nA label which is used as target for jump instructions.\nType representing a memory operand.\nA memory operand with a word (16 bit) size hint.\nA memory operand with a dword (32 bit) size hint.\nA memory operand with a qword (64 bit) size hint.\nA memory operand with a word (8 bit) size hint.\nDefinition of 16 bit registers.\nDefinition of 32 bit registers.\nDefinition of 64 bit registers.\nDefinition of 8 bit registers.\nA simple <code>mmap</code>ed runtime with executable pages.\nAdd the block of <code>code</code> to the runtime and a get function …\nBind the Label to the current location.\nUnmaps the code page. This invalidates all the function …\nDump the code added so far to the runtime into a file …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate a memory with size hint from a raw memory operand.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate a memory with size hint from a raw memory operand.\nReturns the argument unchanged.\nCreate a memory with size hint from a raw memory operand.\nCreate a memory with size hint from a raw memory operand.\nReturns the argument unchanged.\nTrait definitions of various instructions.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nConsume the assembler and get the emitted code.\nCreate a new <code>x64</code> jit assembler.\nCreate a new <code>unbound</code> Label.\nCreate a new Runtime.\nEmit a <code>nop</code> instruction.\nEmit a <code>ret</code> instruction.\nCreate a new Runtime which also generates static perf …\nTrait for <code>add</code> instruction kinds.\nTrait for <code>call</code> instruction kinds.\nTrait for <code>cmovnz</code> instruction kinds.\nTrait for <code>cmovz</code> instruction kinds.\nTrait for <code>cmp</code> instruction kinds.\nTrait for <code>dec</code> instruction kinds.\nTrait for <code>inc</code> instruction kinds.\nTrait for <code>jmp</code> instruction kinds.\nTrait for <code>jnz</code> instruction kinds.\nTrait for <code>jz</code> instruction kinds.\nTrait for <code>mov</code> instruction kinds.\nTrait for <code>pop</code> instruction kinds.\nTrait for <code>push</code> instruction kinds.\nTrait for <code>test</code> instruction kinds.\nTrait for <code>xor</code> instruction kinds.\nEmit an add instruction.\nEmit a call instruction.\nEmit a (conditional) move if not zero instruction.\nEmit a (conditional) move if zero instruction.\nEmit a compare instruction.\nEmit a decrement instruction.\nEmit a increment instruction.\nEmit an unconditional jump instruction.\nEmit a conditional jump if not zero instruction (<code>ZF = 0</code>).\nEmit a conditional jump if zero instruction (<code>ZF = 1</code>).\nEmit an move instruction.\nEmit a pop instruction.\nEmit a push instruction.\nEmit a logical compare instruction.\nEmit a xor instruction.")
\ No newline at end of file +searchState.loadedDescShard("juicebox_asm", 0, "A simple <code>x64</code> jit assembler with a minimal runtime to …\n<code>x64</code> jit assembler.\nType representing a 16 bit immediate.\nType representing a 32 bit immediate.\nType representing a 64 bit immediate.\nType representing an 8 bit immediate.\nAn indirect memory operand, eg <code>mov [rax], rcx</code>.\nAn indirect memory operand in the form base + index, eg …\nAn indirect memory operand with additional displacement, …\nA label which is used as target for jump instructions.\nType representing a memory operand.\nA memory operand with a word (16 bit) size hint.\nA memory operand with a dword (32 bit) size hint.\nA memory operand with a qword (64 bit) size hint.\nA memory operand with a word (8 bit) size hint.\nDefinition of 16 bit registers.\nDefinition of 32 bit registers.\nDefinition of 64 bit registers.\nDefinition of 8 bit registers.\nA simple <code>mmap</code>ed runtime with executable pages.\nAdd the block of <code>code</code> to the runtime and a get function …\nBind the Label to the current location.\nUnmaps the code page. This invalidates all the function …\nDump the code added so far to the runtime into a file …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate a memory with size hint from a raw memory operand.\nCreate a memory with size hint from a raw memory operand.\nReturns the argument unchanged.\nCreate a memory with size hint from a raw memory operand.\nReturns the argument unchanged.\nCreate a memory with size hint from a raw memory operand.\nReturns the argument unchanged.\nTrait definitions of various instructions.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nConsume the assembler and get the emitted code.\nCreate a new <code>x64</code> jit assembler.\nCreate a new <code>unbound</code> Label.\nCreate a new Runtime.\nEmit a <code>nop</code> instruction.\nEmit a <code>ret</code> instruction.\nCreate a new Runtime which also generates static perf …\nTrait for <code>add</code> instruction kinds.\nTrait for <code>call</code> instruction kinds.\nTrait for <code>cmovnz</code> instruction kinds.\nTrait for <code>cmovz</code> instruction kinds.\nTrait for <code>cmp</code> instruction kinds.\nTrait for <code>dec</code> instruction kinds.\nTrait for <code>inc</code> instruction kinds.\nTrait for <code>jmp</code> instruction kinds.\nTrait for <code>jnz</code> instruction kinds.\nTrait for <code>jz</code> instruction kinds.\nTrait for <code>mov</code> instruction kinds.\nTrait for <code>pop</code> instruction kinds.\nTrait for <code>push</code> instruction kinds.\nTrait for <code>sub</code> instruction kinds.\nTrait for <code>test</code> instruction kinds.\nTrait for <code>xor</code> instruction kinds.\nEmit an add instruction.\nEmit a call instruction.\nEmit a (conditional) move if not zero instruction.\nEmit a (conditional) move if zero instruction.\nEmit a compare instruction.\nEmit a decrement instruction.\nEmit a increment instruction.\nEmit an unconditional jump instruction.\nEmit a conditional jump if not zero instruction (<code>ZF = 0</code>).\nEmit a conditional jump if zero instruction (<code>ZF = 1</code>).\nEmit an move instruction.\nEmit a pop instruction.\nEmit a push instruction.\nEmit an sub instruction.\nEmit a logical compare instruction.\nEmit a xor instruction.")
\ No newline at end of file diff --git a/settings.html b/settings.html index 7542020..e36c771 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Settings of Rustdoc"><title>Settings</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="./static.files/${f}">`).join(""))</script><link rel="stylesheet" href="./static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="./static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="tiny_vm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="./static.files/storage-1d39b6787ed640ff.js"></script><script defer src="./static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="./static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="./static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.83.0</span></h2></div><div class="version">(90b35a623 2024-11-26)</div><h2 class="location">Settings</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc settings</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section>You need to enable JavaScript be able to update your settings.</section></noscript><script defer src="./static.files/settings-805db61a62df4bd2.js"></script></section></div></main></body></html>
\ No newline at end of file +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Settings of Rustdoc"><title>Settings</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="./static.files/${f}">`).join(""))</script><link rel="stylesheet" href="./static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="./static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="bf" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="./static.files/storage-1d39b6787ed640ff.js"></script><script defer src="./static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="./static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="./static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.83.0</span></h2></div><div class="version">(90b35a623 2024-11-26)</div><h2 class="location">Settings</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc settings</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section>You need to enable JavaScript be able to update your settings.</section></noscript><script defer src="./static.files/settings-805db61a62df4bd2.js"></script></section></div></main></body></html>
\ No newline at end of file diff --git a/src-files.js b/src-files.js index e351449..b4498f6 100644 --- a/src-files.js +++ b/src-files.js @@ -1,3 +1,3 @@ -var srcIndex = new Map(JSON.parse('[["add",["",[],["add.rs"]]],["bf",["",[],["bf.rs"]]],["fib",["",[],["fib.rs"]]],["juicebox_asm",["",[["insn",[],["add.rs","call.rs","cmovnz.rs","cmovz.rs","cmp.rs","dec.rs","inc.rs","jmp.rs","jnz.rs","jz.rs","mov.rs","nop.rs","pop.rs","push.rs","ret.rs","test.rs","xor.rs"]]],["asm.rs","imm.rs","insn.rs","label.rs","lib.rs","reg.rs","rt.rs"]]],["tiny_vm",["",[],["tiny_vm.rs"]]]]')); +var srcIndex = new Map(JSON.parse('[["add",["",[],["add.rs"]]],["bf",["",[],["bf.rs"]]],["fib",["",[],["fib.rs"]]],["gen",["",[],["gen.rs"]]],["juicebox_asm",["",[["insn",[],["add.rs","call.rs","cmovnz.rs","cmovz.rs","cmp.rs","dec.rs","inc.rs","jmp.rs","jnz.rs","jz.rs","mov.rs","nop.rs","pop.rs","push.rs","ret.rs","sub.rs","test.rs","xor.rs"]]],["asm.rs","imm.rs","insn.rs","label.rs","lib.rs","reg.rs","rt.rs"]]],["tiny_vm",["",[],["tiny_vm.rs"]]]]')); createSrcSidebar(); -//{"start":36,"fragment_lengths":[26,25,27,265,35]}
\ No newline at end of file +//{"start":36,"fragment_lengths":[26,25,27,27,274,35]}
\ No newline at end of file diff --git a/src/bf/bf.rs.html b/src/bf/bf.rs.html index 25b814e..9bd6202 100644 --- a/src/bf/bf.rs.html +++ b/src/bf/bf.rs.html @@ -290,7 +290,50 @@ <a href="#289" id="289">289</a> <a href="#290" id="290">290</a> <a href="#291" id="291">291</a> -<a href="#292" id="292">292</a></pre></div><pre class="rust"><code><span class="doccomment">//! Brainfuck VM. +<a href="#292" id="292">292</a> +<a href="#293" id="293">293</a> +<a href="#294" id="294">294</a> +<a href="#295" id="295">295</a> +<a href="#296" id="296">296</a> +<a href="#297" id="297">297</a> +<a href="#298" id="298">298</a> +<a href="#299" id="299">299</a> +<a href="#300" id="300">300</a> +<a href="#301" id="301">301</a> +<a href="#302" id="302">302</a> +<a href="#303" id="303">303</a> +<a href="#304" id="304">304</a> +<a href="#305" id="305">305</a> +<a href="#306" id="306">306</a> +<a href="#307" id="307">307</a> +<a href="#308" id="308">308</a> +<a href="#309" id="309">309</a> +<a href="#310" id="310">310</a> +<a href="#311" id="311">311</a> +<a href="#312" id="312">312</a> +<a href="#313" id="313">313</a> +<a href="#314" id="314">314</a> +<a href="#315" id="315">315</a> +<a href="#316" id="316">316</a> +<a href="#317" id="317">317</a> +<a href="#318" id="318">318</a> +<a href="#319" id="319">319</a> +<a href="#320" id="320">320</a> +<a href="#321" id="321">321</a> +<a href="#322" id="322">322</a> +<a href="#323" id="323">323</a> +<a href="#324" id="324">324</a> +<a href="#325" id="325">325</a> +<a href="#326" id="326">326</a> +<a href="#327" id="327">327</a> +<a href="#328" id="328">328</a> +<a href="#329" id="329">329</a> +<a href="#330" id="330">330</a> +<a href="#331" id="331">331</a> +<a href="#332" id="332">332</a> +<a href="#333" id="333">333</a> +<a href="#334" id="334">334</a> +<a href="#335" id="335">335</a></pre></div><pre class="rust"><code><span class="doccomment">//! Brainfuck VM. //! //! This example implements a simple //! [brainfuck](https://en.wikipedia.org/wiki/Brainfuck) interpreter @@ -313,7 +356,9 @@ <span class="kw">use </span>juicebox_asm::Runtime; <span class="kw">use </span>juicebox_asm::{Asm, Imm64, Imm8, Label, MemOp, MemOp8, Reg64, Reg8}; -<span class="kw">struct </span>BrainfuckInterp { +<span class="comment">// -- BRAINFUCK INTERPRETER ---------------------------------------------------- + +</span><span class="kw">struct </span>BrainfuckInterp { pc: usize, imem: Vec<char>, dptr: usize, @@ -323,8 +368,9 @@ <span class="kw">impl </span>BrainfuckInterp { <span class="kw">fn </span>new(prog: <span class="kw-2">&</span>str) -> <span class="prelude-ty">Result</span><<span class="self">Self</span>, String> { - <span class="comment">// Do a first pass over the bf program to filter whitespace and detect invalid tokens. - // Additionally validate all conditional branches, and compute their branch target. + <span class="comment">// Do a first pass over the bf program to filter whitespace and detect + // invalid tokens. Additionally validate all conditional branches, and + // compute their branch target. </span><span class="kw">let </span>(imem, branches) = { <span class="comment">// Instruction memory holding the final bf program. </span><span class="kw">let </span><span class="kw-2">mut </span>imem = Vec::new(); @@ -422,7 +468,7 @@ } } -<span class="comment">// -- BRAINFUCK JIT -------------------------------------------------------------- +<span class="comment">// -- BRAINFUCK JIT ------------------------------------------------------------ </span><span class="attr">#[cfg(not(any(target_arch = <span class="string">"x86_64"</span>, target_os = <span class="string">"linux"</span>)))] </span><span class="macro">compile_error!</span>(<span class="string">"Only supported on x86_64 with SystemV abi"</span>); @@ -434,7 +480,8 @@ <span class="kw">impl </span>BrainfuckJit { <span class="kw">fn </span>new(prog: <span class="kw-2">&</span>str) -> <span class="prelude-ty">Result</span><<span class="self">Self</span>, String> { - <span class="comment">// Do a first pass over the bf program to filter whitespace and detect invalid tokens. + <span class="comment">// Do a first pass over the bf program to filter whitespace and detect + // invalid tokens. </span><span class="kw">let </span>imem = prog .chars() .filter(|c| !c.is_whitespace()) @@ -460,25 +507,25 @@ <span class="kw">fn </span>run_jit(prog: <span class="kw-2">&</span>str) { <span class="kw">let </span><span class="kw-2">mut </span>vm = BrainfuckJit::new(prog).unwrap(); - <span class="comment">// Use callee saved registers to hold vm state, such that we don't - // need to save any state before calling out to putchar. + <span class="comment">// Use callee saved registers to hold vm state, such that we don't need to + // save any state before calling out to putchar. </span><span class="kw">let </span>dmem_base = Reg64::rbx; <span class="kw">let </span>dmem_idx = Reg64::r12; <span class="kw">let </span><span class="kw-2">mut </span>asm = Asm::new(); - <span class="comment">// Move data memory pointer (argument on jit entry) into correct - // register. + <span class="comment">// Move data memory pointer (argument on jit entry) into correct register. </span>asm.mov(dmem_base, Reg64::rdi); <span class="comment">// Clear data memory index. </span>asm.xor(dmem_idx, dmem_idx); - <span class="comment">// A stack of label pairs, used to link up forward and backward - // jumps for a given '[]' pair. + <span class="comment">// A stack of label pairs, used to link up forward and backward jumps for a + // given '[]' pair. </span><span class="kw">let </span><span class="kw-2">mut </span>label_stack = Vec::new(); <span class="comment">// Generate code for each instruction in the bf program. - </span><span class="kw">for </span>insn <span class="kw">in </span>vm.imem { - <span class="kw">match </span>insn { + </span><span class="kw">let </span><span class="kw-2">mut </span>pc = <span class="number">0</span>; + <span class="kw">while </span>pc < vm.imem.len() { + <span class="kw">match </span>vm.imem[pc] { <span class="string">'>' </span>=> { <span class="comment">// TODO: generate runtime bounds check. </span>asm.inc(dmem_idx); @@ -488,18 +535,53 @@ </span>asm.dec(dmem_idx); } <span class="string">'+' </span>=> { - asm.inc(MemOp8::from(MemOp::IndirectBaseIndex(dmem_base, dmem_idx))); + <span class="comment">// Apply optimization to fold consecutive '+' instructions to a + // single add instruction during compile time. + + </span><span class="kw">match </span>vm.imem[pc..].iter().take_while(|&&i| i.eq(<span class="kw-2">&</span><span class="string">'+'</span>)).count() { + <span class="number">1 </span>=> asm.inc(MemOp8::from(MemOp::IndirectBaseIndex(dmem_base, dmem_idx))), + cnt <span class="kw">if </span>cnt <= i8::MAX <span class="kw">as </span>usize => { + <span class="comment">// For add m64, imm8, the immediate is sign-extend and + // hence treated as signed. + </span>asm.add( + MemOp::IndirectBaseIndex(dmem_base, dmem_idx), + Imm8::from(cnt <span class="kw">as </span>u8), + ); + + <span class="comment">// Advance pc, but account for pc increment at the end + // of the loop. + </span>pc += cnt - <span class="number">1</span>; + } + cnt @ <span class="kw">_ </span>=> <span class="macro">unimplemented!</span>(<span class="string">"cnt={cnt} oob, add with larger imm"</span>), + } } <span class="string">'-' </span>=> { - asm.dec(MemOp8::from(MemOp::IndirectBaseIndex(dmem_base, dmem_idx))); + <span class="comment">// Apply optimization to fold consecutive '-' instructions to a + // single sub instruction during compile time. + + </span><span class="kw">match </span>vm.imem[pc..].iter().take_while(|&&i| i.eq(<span class="kw-2">&</span><span class="string">'-'</span>)).count() { + <span class="number">1 </span>=> asm.dec(MemOp8::from(MemOp::IndirectBaseIndex(dmem_base, dmem_idx))), + cnt <span class="kw">if </span>cnt <= i8::MAX <span class="kw">as </span>usize => { + <span class="comment">// For sub m64, imm8, the immediate is sign-extend and + // hence treated as signed. + </span>asm.sub( + MemOp::IndirectBaseIndex(dmem_base, dmem_idx), + Imm8::from(cnt <span class="kw">as </span>u8), + ); + + <span class="comment">// Advance pc, but account for pc increment at the end + // of the loop. + </span>pc += cnt - <span class="number">1</span>; + } + cnt @ <span class="kw">_ </span>=> <span class="macro">unimplemented!</span>(<span class="string">"cnt={cnt} oob, sub with larger imm"</span>), + } } <span class="string">'.' </span>=> { - <span class="comment">// Load data memory from active cell into di register, - // which is the first argument register according to - // the SystemV abi, then call into putchar. Since we - // stored all out vm state in callee saved registers - // we don't need to save any registers before the - // call. + <span class="comment">// Load data memory from active cell into di register, which is + // the first argument register according to the SystemV abi, + // then call into putchar. Since we stored all out vm state in + // callee saved registers we don't need to save any registers + // before the call. </span>asm.mov(Reg8::dil, MemOp::IndirectBaseIndex(dmem_base, dmem_idx)); asm.mov(Reg64::rax, Imm64::from(putchar <span class="kw">as </span>usize)); asm.call(Reg64::rax); @@ -521,8 +603,8 @@ ); asm.jz(<span class="kw-2">&mut </span>label_pair.<span class="number">0</span>); - <span class="comment">// Bind label_pair.1 after the jump instruction, which - // will be the branch target for the matching ']'. + <span class="comment">// Bind label_pair.1 after the jump instruction, which will be + // the branch target for the matching ']'. </span>asm.bind(<span class="kw-2">&mut </span>label_pair.<span class="number">1</span>); } <span class="string">']' </span>=> { @@ -530,8 +612,7 @@ .pop() .expect(<span class="string">"encountered un-balanced brackets, found ']' without matching '['"</span>); - <span class="comment">// Goto label_pair.1 if data memory at active cell is - // not 0. + <span class="comment">// Goto label_pair.1 if data memory at active cell is not 0. // if vm.dmem[vm.dptr] != 0 goto label_pair.1 </span>asm.cmp( MemOp::IndirectBaseIndex(dmem_base, dmem_idx), @@ -539,12 +620,15 @@ ); asm.jnz(<span class="kw-2">&mut </span>label_pair.<span class="number">1</span>); - <span class="comment">// Bind label_pair.0 after the jump instruction, which - // is the branch target for the matching '['. + <span class="comment">// Bind label_pair.0 after the jump instruction, which is the + // branch target for the matching '['. </span>asm.bind(<span class="kw-2">&mut </span>label_pair.<span class="number">0</span>); } <span class="kw">_ </span>=> <span class="macro">unreachable!</span>(), } + + <span class="comment">// Increment pc to next instruction. + </span>pc += <span class="number">1</span>; } <span class="comment">// Return from bf program. @@ -560,7 +644,9 @@ bf_entry(<span class="kw-2">&mut </span>vm.dmem <span class="kw">as </span><span class="kw-2">*mut </span>u8); } -<span class="kw">fn </span>main() { +<span class="comment">// -- MAIN --------------------------------------------------------------------- + +</span><span class="kw">fn </span>main() { <span class="comment">// https://en.wikipedia.org/wiki/Brainfuck#Adding_two_values //let inp = "++>+++++ [<+>-] ++++++++[<++++++>-]<."; //println!("add-print-7 (wikipedia.org) - interp"); diff --git a/src/gen/gen.rs.html b/src/gen/gen.rs.html new file mode 100644 index 0000000..1df336a --- /dev/null +++ b/src/gen/gen.rs.html @@ -0,0 +1,91 @@ +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Source of the Rust file `examples/gen.rs`."><title>gen.rs - source</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="gen" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../../static.files/src-script-e66d777a5a92e9b2.js"></script><script defer src="../../src-files.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc src"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="src-sidebar-title"><h2>Files</h2></div></nav><div class="sidebar-resizer"></div><main><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1><div class="sub-heading">gen/</div>gen.rs</h1><rustdoc-toolbar></rustdoc-toolbar></div><div class="example-wrap"><div data-nosnippet><pre class="src-line-numbers"> +<a href="#1" id="1">1</a> +<a href="#2" id="2">2</a> +<a href="#3" id="3">3</a> +<a href="#4" id="4">4</a> +<a href="#5" id="5">5</a> +<a href="#6" id="6">6</a> +<a href="#7" id="7">7</a> +<a href="#8" id="8">8</a> +<a href="#9" id="9">9</a> +<a href="#10" id="10">10</a> +<a href="#11" id="11">11</a> +<a href="#12" id="12">12</a> +<a href="#13" id="13">13</a> +<a href="#14" id="14">14</a> +<a href="#15" id="15">15</a> +<a href="#16" id="16">16</a> +<a href="#17" id="17">17</a> +<a href="#18" id="18">18</a> +<a href="#19" id="19">19</a> +<a href="#20" id="20">20</a> +<a href="#21" id="21">21</a> +<a href="#22" id="22">22</a> +<a href="#23" id="23">23</a> +<a href="#24" id="24">24</a> +<a href="#25" id="25">25</a> +<a href="#26" id="26">26</a> +<a href="#27" id="27">27</a> +<a href="#28" id="28">28</a> +<a href="#29" id="29">29</a> +<a href="#30" id="30">30</a> +<a href="#31" id="31">31</a> +<a href="#32" id="32">32</a> +<a href="#33" id="33">33</a> +<a href="#34" id="34">34</a> +<a href="#35" id="35">35</a> +<a href="#36" id="36">36</a> +<a href="#37" id="37">37</a> +<a href="#38" id="38">38</a> +<a href="#39" id="39">39</a> +<a href="#40" id="40">40</a> +<a href="#41" id="41">41</a> +<a href="#42" id="42">42</a> +<a href="#43" id="43">43</a> +<a href="#44" id="44">44</a> +<a href="#45" id="45">45</a></pre></div><pre class="rust"><code><span class="doccomment">//! Add example. +//! +//! Jit compile a function at runtime (generate native host code) which calls a function defined in +//! the example based on the SystemV abi to demonstrate the [`juicebox_asm`] crate. + +</span><span class="attr">#[cfg(not(any(target_arch = <span class="string">"x86_64"</span>, target_os = <span class="string">"linux"</span>)))] +</span><span class="macro">compile_error!</span>(<span class="string">"Only supported on x86_64 with SystemV abi"</span>); + +<span class="kw">use </span>juicebox_asm::insn::<span class="kw-2">*</span>; +<span class="kw">use </span>juicebox_asm::{Asm, Imm16, Imm64, Imm8, Label, Reg16, Reg64::<span class="kw-2">*</span>, Runtime}; +<span class="kw">use </span>juicebox_asm::{MemOp, MemOp16, MemOp32, MemOp64, MemOp8}; + +<span class="kw">extern </span><span class="string">"C" </span><span class="kw">fn </span>add(a: u32, b: u32) -> u32 { + a + b +} + +<span class="kw">fn </span>main() { + <span class="kw">let </span><span class="kw-2">mut </span>asm1 = Asm::new(); + asm1.xor(r11, r11); + + <span class="macro">assert!</span>(<span class="number">0x7fu8 </span><= i8::MAX <span class="kw">as </span>u8); + + asm1.add(MemOp::IndirectBaseIndex(rdi, r11), Imm8::from(<span class="number">0x10u8</span>)); + asm1.ret(); + + <span class="kw">let </span>code = asm1.into_code(); + std::fs::write(<span class="string">"jit.asm"</span>, <span class="kw-2">&</span>code).unwrap(); + + <span class="kw">let </span><span class="kw-2">mut </span>asm2 = Asm::new(); + asm2.mov(Reg16::cx, Imm16::from(<span class="number">1u16</span>)); + asm2.mov(MemOp::Indirect(rdi), Reg16::cx); + asm2.ret(); + + <span class="kw">let </span><span class="kw-2">mut </span>rt = Runtime::new(); + <span class="kw">let </span>fn1 = <span class="kw">unsafe </span>{ rt.add_code::<<span class="kw">extern </span><span class="string">"C" </span><span class="kw">fn</span>(<span class="kw-2">*mut </span>u64)>(code) }; + <span class="kw">let </span>fn2 = <span class="kw">unsafe </span>{ rt.add_code::<<span class="kw">extern </span><span class="string">"C" </span><span class="kw">fn</span>(<span class="kw-2">*mut </span>u64)>(asm2.into_code()) }; + + <span class="kw">let </span><span class="kw-2">mut </span>data = <span class="number">0xffff_ffff_ffff_ff00u64</span>; + fn1(<span class="kw-2">&mut </span>data <span class="kw">as </span><span class="kw-2">*mut </span>u64); + <span class="macro">println!</span>(<span class="string">"data={:x}"</span>, data); + + <span class="kw">let </span><span class="kw-2">mut </span>data = <span class="number">0xffff_ffff_ffff_ffffu64</span>; + fn2(<span class="kw-2">&mut </span>data <span class="kw">as </span><span class="kw-2">*mut </span>u64); + <span class="macro">println!</span>(<span class="string">"data={:x}"</span>, data); +} +</code></pre></div></section></main></body></html>
\ No newline at end of file diff --git a/src/juicebox_asm/insn.rs.html b/src/juicebox_asm/insn.rs.html index 99a3dd6..432d3da 100644 --- a/src/juicebox_asm/insn.rs.html +++ b/src/juicebox_asm/insn.rs.html @@ -117,7 +117,14 @@ <a href="#116" id="116">116</a> <a href="#117" id="117">117</a> <a href="#118" id="118">118</a> -<a href="#119" id="119">119</a></pre></div><pre class="rust"><code><span class="doccomment">//! Trait definitions of various instructions. +<a href="#119" id="119">119</a> +<a href="#120" id="120">120</a> +<a href="#121" id="121">121</a> +<a href="#122" id="122">122</a> +<a href="#123" id="123">123</a> +<a href="#124" id="124">124</a> +<a href="#125" id="125">125</a> +<a href="#126" id="126">126</a></pre></div><pre class="rust"><code><span class="doccomment">//! Trait definitions of various instructions. </span><span class="kw">mod </span>add; <span class="kw">mod </span>call; @@ -134,6 +141,7 @@ <span class="kw">mod </span>pop; <span class="kw">mod </span>push; <span class="kw">mod </span>ret; +<span class="kw">mod </span>sub; <span class="kw">mod </span>test; <span class="kw">mod </span>xor; @@ -210,16 +218,22 @@ </span><span class="kw">fn </span>mov(<span class="kw-2">&mut </span><span class="self">self</span>, op1: T, op2: U); } +<span class="doccomment">/// Trait for [`pop`](https://www.felixcloutier.com/x86/pop) instruction kinds. +</span><span class="kw">pub trait </span>Pop<T> { + <span class="doccomment">/// Emit a pop instruction. + </span><span class="kw">fn </span>pop(<span class="kw-2">&mut </span><span class="self">self</span>, op1: T); +} + <span class="doccomment">/// Trait for [`push`](https://www.felixcloutier.com/x86/push) instruction kinds. </span><span class="kw">pub trait </span>Push<T> { <span class="doccomment">/// Emit a push instruction. </span><span class="kw">fn </span>push(<span class="kw-2">&mut </span><span class="self">self</span>, op1: T); } -<span class="doccomment">/// Trait for [`pop`](https://www.felixcloutier.com/x86/pop) instruction kinds. -</span><span class="kw">pub trait </span>Pop<T> { - <span class="doccomment">/// Emit a pop instruction. - </span><span class="kw">fn </span>pop(<span class="kw-2">&mut </span><span class="self">self</span>, op1: T); +<span class="doccomment">/// Trait for [`sub`](https://www.felixcloutier.com/x86/sub) instruction kinds. +</span><span class="kw">pub trait </span>Sub<T, U> { + <span class="doccomment">/// Emit an sub instruction. + </span><span class="kw">fn </span>sub(<span class="kw-2">&mut </span><span class="self">self</span>, op1: T, op2: U); } <span class="doccomment">/// Trait for [`test`](https://www.felixcloutier.com/x86/test) instruction kinds. diff --git a/src/juicebox_asm/insn/add.rs.html b/src/juicebox_asm/insn/add.rs.html index e62bc4a..f91aa25 100644 --- a/src/juicebox_asm/insn/add.rs.html +++ b/src/juicebox_asm/insn/add.rs.html @@ -36,8 +36,14 @@ <a href="#35" id="35">35</a> <a href="#36" id="36">36</a> <a href="#37" id="37">37</a> -<a href="#38" id="38">38</a></pre></div><pre class="rust"><code><span class="kw">use </span><span class="kw">super</span>::Add; -<span class="kw">use crate</span>::{Asm, Imm16, MemOp, Reg16, Reg32, Reg64}; +<a href="#38" id="38">38</a> +<a href="#39" id="39">39</a> +<a href="#40" id="40">40</a> +<a href="#41" id="41">41</a> +<a href="#42" id="42">42</a> +<a href="#43" id="43">43</a> +<a href="#44" id="44">44</a></pre></div><pre class="rust"><code><span class="kw">use </span><span class="kw">super</span>::Add; +<span class="kw">use crate</span>::{Asm, Imm16, Imm8, MemOp, Reg16, Reg32, Reg64}; <span class="kw">impl </span>Add<Reg64, Reg64> <span class="kw">for </span>Asm { <span class="kw">fn </span>add(<span class="kw-2">&mut </span><span class="self">self</span>, op1: Reg64, op2: Reg64) { @@ -63,6 +69,12 @@ } } +<span class="kw">impl </span>Add<MemOp, Imm8> <span class="kw">for </span>Asm { + <span class="kw">fn </span>add(<span class="kw-2">&mut </span><span class="self">self</span>, op1: MemOp, op2: Imm8) { + <span class="self">self</span>.encode_mi(<span class="number">0x83</span>, <span class="number">0</span>, op1, op2); + } +} + <span class="kw">impl </span>Add<MemOp, Imm16> <span class="kw">for </span>Asm { <span class="kw">fn </span>add(<span class="kw-2">&mut </span><span class="self">self</span>, op1: MemOp, op2: Imm16) { <span class="self">self</span>.encode_mi(<span class="number">0x81</span>, <span class="number">0</span>, op1, op2); diff --git a/src/juicebox_asm/insn/sub.rs.html b/src/juicebox_asm/insn/sub.rs.html new file mode 100644 index 0000000..f350d05 --- /dev/null +++ b/src/juicebox_asm/insn/sub.rs.html @@ -0,0 +1,29 @@ +<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Source of the Rust file `src/insn/sub.rs`."><title>sub.rs - source</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="juicebox_asm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../../../static.files/src-script-e66d777a5a92e9b2.js"></script><script defer src="../../../src-files.js"></script><script defer src="../../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc src"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="src-sidebar-title"><h2>Files</h2></div></nav><div class="sidebar-resizer"></div><main><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1><div class="sub-heading">juicebox_asm/insn/</div>sub.rs</h1><rustdoc-toolbar></rustdoc-toolbar></div><div class="example-wrap"><div data-nosnippet><pre class="src-line-numbers"> +<a href="#1" id="1">1</a> +<a href="#2" id="2">2</a> +<a href="#3" id="3">3</a> +<a href="#4" id="4">4</a> +<a href="#5" id="5">5</a> +<a href="#6" id="6">6</a> +<a href="#7" id="7">7</a> +<a href="#8" id="8">8</a> +<a href="#9" id="9">9</a> +<a href="#10" id="10">10</a> +<a href="#11" id="11">11</a> +<a href="#12" id="12">12</a> +<a href="#13" id="13">13</a> +<a href="#14" id="14">14</a></pre></div><pre class="rust"><code><span class="kw">use </span><span class="kw">super</span>::Sub; +<span class="kw">use crate</span>::{Asm, Imm8, MemOp, Reg64}; + +<span class="kw">impl </span>Sub<Reg64, Reg64> <span class="kw">for </span>Asm { + <span class="kw">fn </span>sub(<span class="kw-2">&mut </span><span class="self">self</span>, op1: Reg64, op2: Reg64) { + <span class="self">self</span>.encode_rr(<span class="kw-2">&</span>[<span class="number">0x29</span>], op1, op2); + } +} + +<span class="kw">impl </span>Sub<MemOp, Imm8> <span class="kw">for </span>Asm { + <span class="kw">fn </span>sub(<span class="kw-2">&mut </span><span class="self">self</span>, op1: MemOp, op2: Imm8) { + <span class="self">self</span>.encode_mi(<span class="number">0x83</span>, <span class="number">5</span>, op1, op2); + } +} +</code></pre></div></section></main></body></html>
\ No newline at end of file diff --git a/trait.impl/juicebox_asm/insn/trait.Sub.js b/trait.impl/juicebox_asm/insn/trait.Sub.js new file mode 100644 index 0000000..3fe7cac --- /dev/null +++ b/trait.impl/juicebox_asm/insn/trait.Sub.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["juicebox_asm",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[19]}
\ No newline at end of file |