Spaces:
Sleeping
Sleeping
Download examples/write_value.sass from ejschwartz/nvdisasm-re: direct link, hf CLI and curl.
- Browser
- Download file 433 Bytes
-
https://huggingface.co/spaces/ejschwartz/nvdisasm-re/resolve/main/examples/write_value.sass
- Command line
-
hf download hf://spaces/ejschwartz/nvdisasm-re/examples/write_value.sass
-
curl -L -o write_value.sass https://huggingface.co/spaces/ejschwartz/nvdisasm-re/resolve/main/examples/write_value.sass
433 Bytes
| // SM89 kernel: write the scalar value to the supplied device pointer. | |
| SM89 | |
| write_value | |
| output, 8, 8 | |
| value, 4, 4 | |
| 8, 8 | |
| // Explicit, deliberately slow scheduling for this small example. | |
| usched_info=WAIT15_END_GROUP, req_bit_set=63 | |
| MOV R1, c[0][0x28]; | |
| MOV R2, c[0][$output]; | |
| MOV R3, c[0][$output+4]; | |
| MOV R5, c[0][$value]; | |
| ULDC.64 UR4, c[0][0x118]; | |
| STG.E [R2.64], R5; | |
| EXIT; | |