Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Though I'll admit readability suffers slightly... -- Larry Wall in <2969@jato.Jpl.Nasa.Gov>


programming / comp.lang.asm.x86 / small asm code (compo?)

SubjectAuthor
* small asm code (compo?)Kerr-Mudd,John
+* Re: small asm code (compo?)Terje Mathisen
|+* Re: small asm code (compo?)wolfgang kern
||`* Re: small asm code (compo?)Kerr-Mudd,John
|| `- Re: small asm code (compo?)Kerr-Mudd,John
|`- Re: small asm code (compo?)aen
`* Re: small asm code (compo?)Rick C. Hodgin
 `* Re: small asm code (compo?)aen
  +* Re: small asm code (compo?)Kerr-Mudd,John
  |+* Re: small asm code (compo?)Rick C. Hodgin
  ||+* Re: small asm code (compo?)aen
  |||+- Re: small asm code (compo?)Kerr-Mudd,John
  |||`* Re: small asm code (compo?)Rick C. Hodgin
  ||| `* Re: small asm code (compo?)aen
  |||  `- Re: small asm code (compo?)Kerr-Mudd,John
  ||+* Re: small asm code (compo?)Kerr-Mudd,John
  |||`* Re: small asm code (compo?)aen
  ||| `* Re: small asm code (compo?)Kerr-Mudd,John
  |||  `* Re: small asm code (compo?)aen
  |||   `- Re: small asm code (compo?)Kerr-Mudd,John
  ||`* Re: small asm code (compo?)Rick C. Hodgin
  || `- Re: small asm code (compo?)Kerr-Mudd,John
  |`* Re: small asm code (compo?)Terje Mathisen
  | `* Re: small asm code (compo?)Kerr-Mudd,John
  |  +* Re: small asm code (compo?)aen
  |  |+- Re: small asm code (compo?)Kerr-Mudd,John
  |  |`* Re: small asm code (compo?)Benjamin David Lunt
  |  | `* Re: small asm code (compo?)Kerr-Mudd,John
  |  |  `* Re: small asm code (compo?)Kerr-Mudd,John
  |  |   +* Re: small asm code (compo?)Rick C. Hodgin
  |  |   |`* Re: small asm code (compo?)Kerr-Mudd,John
  |  |   | +* Re: small asm code (compo?)Rick C. Hodgin
  |  |   | |`* Re: small asm code (compo?)Kerr-Mudd,John
  |  |   | | `- Re: small asm code (compo?)wolfgang kern
  |  |   | `* Re: small asm code (compo?)Kerr-Mudd,John
  |  |   |  `* Re: small asm code (compo?)Rick C. Hodgin
  |  |   |   `* Re: small asm code (compo?)Kerr-Mudd,John
  |  |   |    +- Re: small asm code (compo?)Kerr-Mudd,John
  |  |   |    `* Re: small asm code (compo?)wolfgang kern
  |  |   |     `- Re: small asm code (compo?)Kerr-Mudd,John
  |  |   `* Re: small asm code (compo?)Terje Mathisen
  |  |    `* Re: small asm code (compo?)Kerr-Mudd,John
  |  |     `- Re: small asm code (compo?)Kerr-Mudd,John
  |  `* Re: small asm code (compo?)Kerr-Mudd,John
  |   +* Re: small asm code (compo?)aen
  |   |`- Re: small asm code (compo?)aen
  |   `* prt nth (was: Re: small asm code (compo?)Kerr-Mudd,John
  |    `- Re: prt nth (was: Re: small asm code (compo?)Kerr-Mudd,John
  `* Re: small asm code (compo?)Rick C. Hodgin
   `* Re: small asm code (compo?)aen
    `- Re: small asm code (compo?)Kerr-Mudd,John

Pages:123
Subject: Re: small asm code (compo?)
From: Kerr-Mudd,John
Newsgroups: comp.lang.asm.x86
Organization: dis
Date: Sat, 3 Oct 2020 19:01 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: notsay...@nospicedham.127.0.0.1 (Kerr-Mudd,John)
Newsgroups: comp.lang.asm.x86
Subject: Re: small asm code (compo?)
Date: Sat, 3 Oct 2020 19:01:06 -0000 (UTC)
Organization: dis
Lines: 116
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <XnsAC4BCBA6D540Cadmin127001@144.76.35.198>
References: <XnsAC2181A62E105admin127001@144.76.35.198> <rhu7vb$vlp$1@dont-email.me> <5f42b78d.825092203@nntp.aioe.org> <XnsAC22D39B77F8Fadmin127001@144.76.35.198> <rhvvdq$ngu$1@gioia.aioe.org> <XnsAC236B3AF57ADadmin127001@144.76.35.198> <5f44a1ae.950565390@nntp.aioe.org> <rjc738$1hja$1@gioia.aioe.org> <XnsAC3468068DA93admin127001@144.76.35.198> <XnsAC39D44B35C7Eadmin127001@144.76.35.198> <rjr7ce$gkc$1@dont-email.me> <XnsAC3A657844E3admin127001@144.76.35.198> <XnsAC416DECB28BCadmin127001@144.76.35.198> <rkfm58$56m$1@dont-email.me> <XnsAC495C849C302admin127001@144.76.35.198> <rlaash$df9$1@gioia.aioe.org>
Injection-Info: reader02.eternal-september.org; posting-host="ad115db70de8e26232e679e3d367ec7e";
logging-data="1177"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Ziu/4A1Wdi1z6hQIyafvPHT8OvN3N0yo="
User-Agent: Xnews/2009.05.01
Cancel-Lock: sha1:tMq55mGH3GDUuOEFE5EEJs9TlYo=
View all headers
On Sat, 03 Oct 2020 17:01:35 GMT, wolfgang kern
<nowhere@nospicedham.never.at> wrote:

On 01.10.2020 10:05, Kerr-Mudd,John wrote:
...
I didn't try any of that; just tight code; here you are Wolfgang, get
typing!

today1a4.com 256 byte

I remember vague on a batch-file which printed date&time to screen, it
was much shorter than this :)
__
wolfgang

wouldn't BIOS calls instead of DOS-FN make it shorter ?


not really, 4 bytes to get time, same for date; I set the
returncode/errorlevel so need int21 fn 4C for that, and that only leaves
1 DOS print: int21 fn9

there's a lot of call to 2 (ish) rtns as they do a lot of the work!

BF2409
57
B42C
CD21
51
88E8
31C9
E85900     ;call
58
41
BE9701
E85000     ;call
4E
88F0
E84A00     ;call
B42A
CD21       ;get
40
89C5
51
98
E84F00
BE8B01
A5A5       ;dup  ;### yup; prints 'day '
56
88D0
E83400     ;call
80FC31
98
740A
2C30
3C04
7304
D1E0
01C6
A5
88F0
99
BEB501
E82A00    ;call
5E
4E
58
B164
F7F1
E80F00    ;call
92
E80C00    ;call
5A
89D0
AA
CD21      ;put
95
B44C
CD21      ;end

:SubroutineA
A4
D40A
08E1
7406
80CC30
882547
0C30
AA
C3

:SubroutineB
91
B020AA
E309
AC
A820
75F9
E3F2
E2F7
AA
EBF4

:text
64617920746873746E6472643A53756E4D6F6E5475
65735765646E6573546875727346726953617475724A616E7561727946656272
756172794D61726368417072696C4D61794A756E654A756C7941756775737453
657074656D6265724F63746F6265724E6F76656D626572446563656D62657258





--
Bah, and indeed, Humbug.



Pages:123
rocksolid light 0.7.2
clearneti2ptor