|
Download asm/asm002.jsonl from winapiadmin/tinycodinglm: direct link, hf CLI and curl.
- Browser
- Download file 1.2 kB
-
https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/cb70fada65ee000453c0b230e5afcda82b5d8536/asm/asm002.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm@cb70fada65ee000453c0b230e5afcda82b5d8536/asm/asm002.jsonl
-
curl -L -o asm002.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/cb70fada65ee000453c0b230e5afcda82b5d8536/asm/asm002.jsonl
1.2 kB
| {"type": "session", "harness": "deepseek-harness", "id": "asm002", "name": "x64 calling convention"} | |
| {"type": "message", "message": {"role": "system", "content": "You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies."}} | |
| {"type": "message", "message": {"role": "user", "content": "What is the x64 calling convention?"}} | |
| {"type": "message", "message": {"role": "assistant", "content": "```asm\n; x86-64 calling conventions (NASM):\n; System V (Linux/macOS): args in RDI, RSI, RDX, RCX, R8, R9; return in RAX.\n; Windows x64: args in RCX, RDX, R8, R9 + 32-byte caller shadow space.\n; Callee-saved (must be preserved): RBX, RBP, R12-R15.\n\n; Example: long add2(long a, long b) for System V Linux.\n global add2\n section .text\nadd2: mov rax, rdi ; rax = a\n add rax, rsi ; rax = a + b\n ret ; result in rax\n```"}} | |