Operands and parameters
SrcL- common scalar source: absolute GPR, T#1..T#4, or U#1..U#4
Snapshot one scalar source value into the active block BARG.BPCN.
PTO-SCALAR-C-SETC-TGTc.setc.tgt srcL| Field | Bits | Signedness | Architectural role | Encoded zero |
|---|---|---|---|---|
SrcL | 5 | encoding-defined | common scalar source: absolute GPR, T#1..T#4, or U#1..U#4 | Encoded zero names the architectural zero GPR. |
Loading WaveDrom diagram… The encoding table and WaveJSON remain available below.
| Decoded item | Bit range | Value |
|---|---|---|
| Constant | 15:11 | 5'b00000 |
| SrcL | 10:6 | variable |
| Constant | 5:0 | 6'b011100 |
{
"reg": [
{
"bits": 6,
"name": "6'b011100"
},
{
"bits": 5,
"name": "SrcL"
},
{
"bits": 5,
"name": "5'b00000"
}
],
"config": {
"bits": 16,
"fontsize": 13,
"hspace": 640,
"lanes": 1,
"offset": 0
}
}c.setc.tgt srcL
SrcLThis Operation comes directly from the instruction owner; the page does not rewrite its behavior.
readonly func InstructionContractOperation_C_SETC_TGT() => ScalarOperationbegin return ScalarOperation_C_SETC_TGT;end;readonly func InstructionContractHandler_C_SETC_TGT() => ScalarSemanticHandlerbegin return ScalarHandler_SetCommitTarget;end;
readonly func InstructionContractTarget_C_SETC_TGT( source_value: Word) => Wordbegin return source_value;end;// PTO-INSTRUCTION: {"assembly":["c.setc.tgt srcL"],"block":[],"catalog_indices":[37],"catalog_records":[{"asm":"c.setc.tgt srcL","constraints":[],"encoding":[{"index":0,"mask":"0xf83f","match":"0x001c","width_bits":16}],"encoding_kind":"C16","fields":[{"name":"SrcL","pieces":[{"instruction_lsb":6,"value_lsb":0,"width":5}],"signedness":"encoding-defined","width":5}],"form_id":"c_setc_tgt_16_736be9cada01","length_bits":16,"mnemonic":"C.SETC.TGT","semantic_family":"ALU","semantic_group":"ALU","semantic_handler":"SetCommitTarget","semantic_summary":"Snapshot one scalar source value into the active block BARG.BPCN.","status":"accepted"}],"classification":["alu"],"contract":{"block_composition":["Applicable inside one active Standard or Floating block. The first successful occurrence owns the block target; a second occurrence is illegal."],"canonical_assembly":["c.setc.tgt srcL"],"defaults":["C.SETC.TGT has no omitted operand. SrcL code zero names the architectural zero GPR and snapshots numeric zero."],"encoding_class":"standalone-encoded","examples":["c.setc.tgt a0","c.setc.tgt T#1"],"exceptions":["No active Standard or Floating block, or a second successful C.SETC.TGT in the active block, raises Fault_BundleControl before source readiness or any state effect.","An unavailable relative source raises Fault_IllegalInstruction before changing BARG.BPCN, the uniqueness marker, TPC, or queue state.","An odd snapshotted target is accepted by C.SETC.TGT and raises Fault_InstructionPC only if the later block commit selects it."],"field_contracts":{},"field_zero_meanings":{"SrcL":"Encoded zero names the architectural zero GPR."},"legality":["All SrcL codes 0..31 are assigned common scalar sources; relative sources are non-consuming and must be available when the instruction executes.","C.SETC.TGT is legal only while a Standard or Floating block is active. At most one C.SETC.TGT may complete successfully in that block.","Target alignment is not checked by C.SETC.TGT; the block commit boundary validates the final selected BARG.BPCN."],"memory_effects":["none"],"operands":[{"field":"SrcL","role":"common scalar source: absolute GPR, T#1..T#4, or U#1..U#4"}],"ordering":["Applicability and duplicate checks precede source readiness and source read. Source readiness precedes the BARG.BPCN update.","Later changes to the source register or queue cannot alter the pending target."],"standalone_opcode":true,"state_effects":["Read and snapshot the complete selected 64-bit source, then atomically replace active BARG.BPCN with that value.","Set the block-private successful-C.SETC.TGT marker only after the target snapshot succeeds. Do not retain the selector and do not modify the generic commit-condition argument."]},"depends_on":["PTO-BLOCK-MODEL-SCHEMA-PROFILE-ENCODING"],"id":"PTO-SCALAR-C-SETC-TGT","mnemonic":"C.SETC.TGT","summary":"Snapshot one scalar source value into the active block BARG.BPCN.","surface":"scalar"}// PTO-REVIEW: {"review_method":"formal-definition-read","outcome":"FORMAL-COMPLETE","reviewed_fields":["assembly","encoding","defaults","operation","state","memory","ordering","faults","reserved"]}// NDF-BEGIN: PTO-C-SETC-TGT-SNAPSHOT-001// ndf: kind=contract level=L1 layer=scalar status=accepted// C.SETC.TGT MUST snapshot the complete selected scalar value into BARG.BPCN.// At most one successful occurrence is permitted per active Standard/Floating// block; applicability and duplicate checks MUST precede source readiness.// NDF-END: PTO-C-SETC-TGT-SNAPSHOT-001// DOC-BEGIN: decodereadonly func InstructionContractOperation_C_SETC_TGT() => ScalarOperationbegin return ScalarOperation_C_SETC_TGT;end;// DOC-END: decode// DOC-BEGIN: operationreadonly func InstructionContractHandler_C_SETC_TGT() => ScalarSemanticHandlerbegin return ScalarHandler_SetCommitTarget;end;
readonly func InstructionContractTarget_C_SETC_TGT( source_value: Word) => Wordbegin return source_value;end;// DOC-END: operation
C.SETC.TGT is a 16-bit scalar ALU instruction. It captures the selected scalar value as the active block commit target; its current instruction contract defines the result publication path and any additional state effect.
Execution snapshots the encoded inputs, then captures the selected scalar value as the active block commit target, and only afterward performs the destination effects.
SrcL field selects an absolute GPR, T#1..T#4, or U#1..U#4 scalar value.These roles come from the current instruction contract. T/U sources are read and snapshotted without being removed from their queues; exact encoded-zero meanings appear in the generated defaults below.
The selected source is captured before BARG.BPCN changes, so source aliasing cannot observe the new commit target.
This ALU operation has no memory effect. After its successful architectural effects, TPC advances by 2 bytes.
The operation does not introduce a hidden scalar publication target or an implicit memory access. Architectural changes remain limited to the state effects enumerated by the current contract.
The instruction is legal only in an active Standard or Floating block and may complete successfully at most once in that block. Target alignment is deferred to the block-commit boundary.
The generated legality table is authoritative for assigned field values, reserved encodings, and destination discard codes. Decode and source availability are checked before architectural effects.
This example illustrates the current ASL owner and does not replace the normative operation.
For a small C.SETC.TGT example, a snapshotted source value 0x100 becomes the active BARG.BPCN; target alignment is still checked later at block commit.
Bodies come from owning ASL. Dragging or buttons change only this page-session view order.
C.SETC.TGT MUST snapshot the complete selected scalar value into BARG.BPCN. At most one successful occurrence is permitted per active Standard/Floating block; applicability and duplicate checks MUST precede source readiness.
PTO-C-SETC-TGT-SNAPSHOT-001asl/scalar/alu/C.SETC.TGT.asl3082a9ed032e7e784cf19d8ca2167427675e5524462c358c2d793eb9997fe2d195c7a358d06bf09b90312e10f17ba65e0eaf42c0ca4af2f77eede32a1e6e08f415 matching entries
PTO-AVS-SCALAR-C-SETC-TGT-ABS-001tests/asl/scalar/alu/C.SETC.TGT/scalar-exec-c-setc-tgt-absolute-001.aslddb313a2b3961dc2d40d886e05c550f2bdf30f2c7400cbbb334677a88aeaec40PTO-AVS-SCALAR-C-SETC-TGT-DECODE-001tests/asl/scalar/alu/C.SETC.TGT/scalar-decode-c-setc-tgt-canonical-001.asl5f903f4e476cc3fe96c2aa4fca9a8fa2b9b3584bb5b0ed3a97d45a05376520a8PTO-AVS-SCALAR-C-SETC-TGT-DUP-001tests/asl/scalar/alu/C.SETC.TGT/scalar-fault-c-setc-tgt-duplicate-001.asl64803cbf0a6aa7fa1a7e75b245e3e0d7d4b5f5516037dae46821e1b1ffe11fa6PTO-AVS-SCALAR-C-SETC-TGT-READY-001tests/asl/scalar/alu/C.SETC.TGT/scalar-fault-c-setc-tgt-readiness-001.asl5a1747c943b60496b019b59ce159dd901ecd5f5688b99b5c8287ed0cf6e80f5cPTO-AVS-SCALAR-C-SETC-TGT-REL-001tests/asl/scalar/alu/C.SETC.TGT/scalar-exec-c-setc-tgt-relative-001.asl36a0d9ea87f95231451d82e36a7e24a18d2caecd838cc86545b2931050b25875PTO-AVS-SCALAR-C-SETC-TGT-TARGET-001tests/asl/scalar/alu/C.SETC.TGT/scalar-fault-c-setc-tgt-target-001.asl0d40034b6b759b92954a1c09eaed3b02a19eef7ea40846e88eb62bed22b1f8a1PTO-EVIDENCE-RELEASE-TRACEABILITYPTO-EVIDENCE-RELEASE-TRACEABILITYspec/evidence/release-traceability-readiness.jsonc7327021d39dc67ac5564bc55073b3870a397d79ac8d9648284d56e33bc14a3ePTO-EVIDENCE-INSTRUCTION-CONTRACT-CLOSUREPTO-EVIDENCE-INSTRUCTION-CONTRACT-CLOSUREspec/evidence/instruction-contract-closure.json3ef2bb62421c79dff8fa77a1c7983923b523244b8090812883ef81286ca8106aPTO-EVIDENCE-ARCHITECTURE-READINESSPTO-EVIDENCE-ARCHITECTURE-READINESSspec/evidence/architecture-readiness.json4b0b85199101251bea744e0f3591cc31906909dc80d5ab651c417a936036a004PTO-EVIDENCE-RELEASE-GATE-READINESSPTO-EVIDENCE-RELEASE-GATE-READINESSspec/evidence/release-gate-readiness.jsona0f4d2b6920c08981ea55fd8ef820708a40d4feb5402c5150e8e9ab532d84ce0PTO-EVIDENCE-RELEASE-MANIFESTPTO-EVIDENCE-RELEASE-MANIFESTspec/release-manifest.json1a64c109ed7a90351c41e2a418b3c0ebaf8ad975838986d2101385186b85c0d8Loading ADR-0026…
ADR-0026docs/status/decisions/0026-scalar-alu-totality-and-alias-order.md41d126f224dddc371832120f1b02eab64e426872fdcbea452bad77c90bdec349Loading ADR-0059…
ADR-0059docs/status/decisions/0059-mnemonic-field-encoding-closure.mdf18d13f735cfaf9f2803c754c5818f4af33d1cc42c489f0d9ce060b07bb3a196Loading ADR-0061…
ADR-0061docs/status/decisions/0061-barg-bpcn-commit-state.mda18e0fbedde0c150c0234b126fef7bf43d9503080ee42e7896ac21e494da4d83Loading ADR-0084…
ADR-0084docs/status/decisions/0084-scalar-system-and-queue-operations.mde068992fa81e2c4ac46e492391a2f784141d68e041bf0b9e0586c37217d1e08c{
"classification": [
"alu"
],
"documentation": "docs/scalar/alu/C.SETC.TGT.md",
"id": "PTO-SCALAR-C-SETC-TGT",
"instruction_contract": {
"artifact": "spec/evidence/instruction-contract-closure.json",
"mnemonic": "C.SETC.TGT",
"ndf_clause": "PTO-INST-SCALAR-C-SETC-TGT"
},
"mnemonic": "C.SETC.TGT",
"readiness_subjects": [
"ADR-0026",
"ADR-0059",
"ADR-0061",
"ADR-0084"
],
"semantic_tests": [
"PTO-AVS-SCALAR-C-SETC-TGT-ABS-001",
"PTO-AVS-SCALAR-C-SETC-TGT-DUP-001",
"PTO-AVS-SCALAR-C-SETC-TGT-READY-001",
"PTO-AVS-SCALAR-C-SETC-TGT-REL-001",
"PTO-AVS-SCALAR-C-SETC-TGT-TARGET-001"
],
"source": "asl/scalar/alu/C.SETC.TGT.asl",
"surface": "scalar",
"tests": [
"PTO-AVS-SCALAR-C-SETC-TGT-ABS-001",
"PTO-AVS-SCALAR-C-SETC-TGT-DECODE-001",
"PTO-AVS-SCALAR-C-SETC-TGT-DUP-001",
"PTO-AVS-SCALAR-C-SETC-TGT-READY-001",
"PTO-AVS-SCALAR-C-SETC-TGT-REL-001",
"PTO-AVS-SCALAR-C-SETC-TGT-TARGET-001"
]
}0.58.5 · Release candidate7dc8b7e5b121d2b2499a2273bebff29e2cd868123082a9ed032e7e784cf19d8ca2167427675e5524462c358c2d793eb9997fe2d1ba78dd0b34843f64fe7c1fc72cb48a5819893ad53e93f92ff833d6ee682059e1asl/scalar/alu/C.SETC.TGT.aslasl/scalar/alu/C.SETC.TGT.aslasl/scalar/alu/C.SETC.TGT.asl