converting_20a_20number_20to_20a_20string
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| converting_20a_20number_20to_20a_20string [2018/03/31 13:19] – external edit 127.0.0.1 | converting_20a_20number_20to_20a_20string [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| pop eax | pop eax | ||
| mov byte [edx+ecx],0 | mov byte [edx+ecx],0 | ||
| - | On completion a NUL-terminated string is stored in the supplied buffer.\\ \\ To illustrate the use of this code here is a complete program which prints the value of PI using assembly language:\\ | + | On completion a NUL-terminated string is stored in the supplied buffer.\\ \\ To illustrate the use of this code here is a complete program which prints the value of PI using assembly language: |
| + | |||
| + | <code bb4w> | ||
| DIM Buffer% 255, P% 100, L% -1 | DIM Buffer% 255, P% 100, L% -1 | ||
| [OPT 10 | [OPT 10 | ||
| Line 37: | Line 39: | ||
| CALL ppi | CALL ppi | ||
| + | </ | ||
| + | |||
converting_20a_20number_20to_20a_20string.1522502351.txt.gz · Last modified: 2024/01/05 00:18 (external edit)