====== Worked Examples ====== Encodings and arithmetic are checked against the specification. The multiply, fill and triangle programs also pass the C model used by the [[tools:risc|RISC workbench]]. They have not been tested on a V2200 board. ^ Example ^ Contents ^ | [[examples:decode|Decode an instruction word]] | Opcode byte, operand indices, byte order, signed multiply and signed branch offset. | | [[examples:dma|Build a DMA list]] | A transfer command and terminating null link, with exact word values. | | [[examples:fill|Fill a scan line]] | Format, mask and color registers; operand pair; write hazards and completion polling. | | [[examples:triangle|Set up a triangle]] | Pixel state, fixed-point coordinates, edge gradients, shadowing and launch order. | [[tools:risc|Assembler and debugger]] · [[risc:programming|RISC reference]] · [[risc:opcodes|Opcode map]] · [[reference:source_issues|Source issues]]