about summary refs log tree commit diff stats
path: root/html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-11-15 23:51:40 -0800
committerKartik Agaram <vc@akkartik.com>2020-11-16 00:00:32 -0800
commit8d2dece2918675f4c7159b36a5cf154ff1ccd7f5 (patch)
treecc0c5ed66bca089d76ce9a7a43b7fc145f8dfecc /html
parent264aba4d929da6899af0672fcda7cc7a877099ec (diff)
downloadmu-8d2dece2918675f4c7159b36a5cf154ff1ccd7f5.tar.gz
7250
Diffstat (limited to 'html')
-rw-r--r--html/apps/ex2.mu.html2
-rw-r--r--html/ex2.mu.pngbin12812 -> 100365 bytes
-rw-r--r--html/mu-init.subx.html4
3 files changed, 3 insertions, 3 deletions
diff --git a/html/apps/ex2.mu.html b/html/apps/ex2.mu.html
index faa89af6..603e330f 100644
--- a/html/apps/ex2.mu.html
+++ b/html/apps/ex2.mu.html
@@ -71,7 +71,7 @@ if ('onhashchange' in window) {
 <span id="L13" class="LineNr">13 </span><span class="Delimiter">}</span>
 <span id="L14" class="LineNr">14 </span>
 <span id="L15" class="LineNr">15 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex2.mu.html#L15'>do-add</a></span> a: int, b: int<span class="PreProc"> -&gt; </span>_/<span class="Constant">eax</span>: int <span class="Delimiter">{</span>
-<span id="L16" class="LineNr">16 </span>  <span class="PreProc">var</span> result/<span class="Constant">ebx</span>: int <span class="SpecialChar">&lt;-</span> copy a
+<span id="L16" class="LineNr">16 </span>  <span class="PreProc">var</span> result/<span class="Constant">ecx</span>: int <span class="SpecialChar">&lt;-</span> copy a
 <span id="L17" class="LineNr">17 </span>  result <span class="SpecialChar">&lt;-</span> add b
 <span id="L18" class="LineNr">18 </span>  <span class="PreProc">return</span> result
 <span id="L19" class="LineNr">19 </span><span class="Delimiter">}</span>
diff --git a/html/ex2.mu.png b/html/ex2.mu.png
index 4af277d4..9d846f4a 100644
--- a/html/ex2.mu.png
+++ b/html/ex2.mu.png
Binary files differdiff --git a/html/mu-init.subx.html b/html/mu-init.subx.html
index dc0c5ec7..bc78932c 100644
--- a/html/mu-init.subx.html
+++ b/html/mu-init.subx.html
@@ -59,9 +59,9 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># See translate_mu for how this file is used.</span>
 <span id="L4" class="LineNr"> 4 </span><span class="subxComment">#</span>
 <span id="L5" class="LineNr"> 5 </span><span class="subxComment"># Mu programs start at a function called 'main' with this signature:</span>
-<span id="L6" class="LineNr"> 6 </span><span class="subxComment">#   fn main args: (addr array addr array byte) -&gt; exit-status/ebx: int</span>
+<span id="L6" class="LineNr"> 6 </span><span class="subxComment">#   fn main args: (addr array addr array byte) -&gt; _/ebx: int</span>
 <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># If your program doesn't need commandline arguments you can drop it:</span>
-<span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   fn main -&gt; exit-status/ebx: int</span>
+<span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   fn main -&gt; _/ebx: int</span>
 <span id="L9" class="LineNr"> 9 </span><span class="subxComment">#</span>
 <span id="L10" class="LineNr">10 </span><span class="subxComment"># Notice that the output must be in ebx, so that the exit() syscall can pick</span>
 <span id="L11" class="LineNr">11 </span><span class="subxComment"># it up.</span>
ef='#n270'>270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455