Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Sex dumps core (Sex is a Simple editor for X11) -- Seen on debian bugtracking


devel / comp.lang.asm.x86 / Re: Write an assembly language program using MASM syntax for the

SubjectAuthor
* Write an assembly language program using MASM syntax for the given statement.Abdul Basit
+* Write an assembly language program using MASM syntax for the given statement.R.Wieser
|`* Write an assembly language program using MASM syntax for theKerr-Mudd, John
| `- Write an assembly language program using MASM syntax for theR.Wieser
`- Write an assembly language program using MASM syntax for theMartijn Bos

1
Write an assembly language program using MASM syntax for the given statement.

<9cffa7a8-64a3-4319-828a-48c239179e9en@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=876&group=comp.lang.asm.x86#876

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: abdulbasitt9988@nospicedham.gmail.com (Abdul Basit)
Newsgroups: comp.lang.asm.x86
Subject: Write an assembly language program using MASM syntax for the given statement.
Date: Sat, 2 Dec 2023 05:03:31 -0800 (PST)
Organization: A noiseless patient Spider
Lines: 40
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <9cffa7a8-64a3-4319-828a-48c239179e9en@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Sat, 02 Dec 2023 13:03:31 +0000
Injection-Info: dont-email.me; posting-host="4e844becf0b0549eeef552ecb2f7ffa4";
logging-data="2504852"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yG3Z0r0epcxXUmWjUwEQbSpehUcXn7Oo="
User-Agent: G2/1.0
Cancel-Lock: sha1:UoLvstXSEi5tYunjR+voOGO/6zs=
 by: Abdul Basit - Sat, 2 Dec 2023 13:03 UTC

Write an assembly language program using MASM syntax for the given statement. You will be required to write procedures for all the given parts. Write MAIN Procedure to execute all the procedures one by one.

Part a: Procedure INPUT NAME: Input a name as string terminated by $ and save it in memory (Use function 1 of INT 21H, loop to implement the operation, and register indirect addressing mode to address the memory).
Part b: Procedure CASE CONVERSION: Convert the saved string’s case (capital ⇄ small) and save the string with case conversion. (Use logical operation with loop, use based addressing mode to address the memory locations).
Part c: Procedure VOWELS: Use part a, calculate the number of vowels in the string. (Use conditional jumps)
Part d: Procedure CONSONANTS: Use part a, calculate the number of consonants in the string. (Use conditional jumps)
Part e: Procedure BINARY CONVERSION: Use part a, convert the saved ASCII values of whole string to binary values and save the binary characters in the memory. (Use shift or rotate operations, use indexed addressing mode)
Part f: Procedure HEXADECIMAL CONVERSION: Use part a, convert the saved ASCII values of whole string to hexadecimal values and save the hexadecimal characters in the memory. (Use multiple shifts/rotate
operations along with loop)
Part g: Procedure 1’s BITS: Use part e, find the numbers of ones’ bits in the whole string. (Use indexed addressing mode to address the memory).
Part h: Procedure 0’s BITS: Use part e, find the number of zeros’ bits in the whole string. (Use based addressing mode to address the memory)
Part i: Procedure REVERSE THE STRING: Use part a, reverse the string and save it in the memory. (Use based and indexed addressing mode)
Part j: Procedure WITHOUT VOWELS: Use part a & c, remove the vowels from the string and save it in the memory.
Part k: Procedure WITHOUT CONSONANTS: Use part a & d, remove the consonants from the string and save it in the memory.
Part l: Procedure PRINTING: Print all the strings in the memory separated by new line. (Using function 9 of INT21H).

use functions and push pop where required, and don't use direct method by using CALL function and RET function.

Re: Write an assembly language program using MASM syntax for the given statement.

<ukfcm9$2ckgv$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=877&group=comp.lang.asm.x86#877

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: address@nospicedham.is.invalid (R.Wieser)
Newsgroups: comp.lang.asm.x86
Subject: Re: Write an assembly language program using MASM syntax for the given statement.
Date: Sat, 2 Dec 2023 14:49:52 +0100
Organization: A noiseless patient Spider
Lines: 18
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ukfcm9$2ckgv$1@dont-email.me>
References: <9cffa7a8-64a3-4319-828a-48c239179e9en@googlegroups.com>
Injection-Info: dont-email.me; posting-host="4e844becf0b0549eeef552ecb2f7ffa4";
logging-data="2514564"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HFmKe0BLuGCNLYrTdBWRcEHDC1/OiYLg="
Cancel-Lock: sha1:ox2akHUWgxWmN1yl/e227J3FRv0=
 by: R.Wieser - Sat, 2 Dec 2023 13:49 UTC

Abdul,

> Write an assembly language program using MASM syntax for the
> given statement. You will be required to write procedures for all the
> given parts. Write MAIN Procedure to execute all the procedures
> one by one.
[snip]

I'm sorry for you, but this is *not* the "cheap programmers for hire"
newsgroup.

If you have a question about what you tried yourself (and can post a sample
of) you're welcome to ask for help though.

Regards,
Rudy Wieser

Re: Write an assembly language program using MASM syntax for the

<20231202172542.2230bcd5dc522eedd033c4b5@127.0.0.1>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=878&group=comp.lang.asm.x86#878

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: admin@nospicedham.127.0.0.1 (Kerr-Mudd, John)
Newsgroups: comp.lang.asm.x86
Subject: Re: Write an assembly language program using MASM syntax for the
Date: Sat, 2 Dec 2023 17:25:42 +0000
Organization: Dis
Lines: 29
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <20231202172542.2230bcd5dc522eedd033c4b5@127.0.0.1>
References: <9cffa7a8-64a3-4319-828a-48c239179e9en@googlegroups.com>
<ukfcm9$2ckgv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="4e844becf0b0549eeef552ecb2f7ffa4";
logging-data="2578548"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+126vdT5RfhX9BebP2Fmmztp26om+tiZQ="
Cancel-Lock: sha1:jmjm2ZeIk8OIUV0OIexYZ4DkGSg=
 by: Kerr-Mudd, John - Sat, 2 Dec 2023 17:25 UTC

On Sat, 2 Dec 2023 14:49:52 +0100
"R.Wieser" <address@nospicedham.is.invalid> wrote:

> Abdul,
>
> > Write an assembly language program using MASM syntax for the
> > given statement. You will be required to write procedures for all the
> > given parts. Write MAIN Procedure to execute all the procedures
> > one by one.
> [snip]
It's not even a spec for a worthwhile program. With not one mention of
error-checking.
>
> I'm sorry for you, but this is *not* the "cheap programmers for hire"
> newsgroup.

ITYM Lazy homework reassignment.

>
> If you have a question about what you tried yourself (and can post a sample
> of) you're welcome to ask for help though.
>

--
Bah, and indeed Humbug.

Re: Write an assembly language program using MASM syntax for the

<ukg0us$2fqip$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=880&group=comp.lang.asm.x86#880

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: address@nospicedham.is.invalid (R.Wieser)
Newsgroups: comp.lang.asm.x86
Subject: Re: Write an assembly language program using MASM syntax for the
Date: Sat, 2 Dec 2023 20:35:49 +0100
Organization: A noiseless patient Spider
Lines: 26
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ukg0us$2fqip$1@dont-email.me>
References: <9cffa7a8-64a3-4319-828a-48c239179e9en@googlegroups.com><ukfcm9$2ckgv$1@dont-email.me> <20231202172542.2230bcd5dc522eedd033c4b5@127.0.0.1>
Injection-Info: dont-email.me; posting-host="4e844becf0b0549eeef552ecb2f7ffa4";
logging-data="2618547"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Rkg9vXsZVxuteCBT9cCE1GFgIhlX3OGs="
Cancel-Lock: sha1:VYCXLXLnowE2kMusrJGk6UFRB0w=
 by: R.Wieser - Sat, 2 Dec 2023 19:35 UTC

John,

> It's not even a spec for a worthwhile program. With not one mention
> of error-checking.

Who needs error-checking anyway ? Just have the users provide/enter the
correct data. :-)

> ITYM Lazy homework reassignment.

Homework ? Yes, possibly (it also crossed my mind). Though in that case
error checking might be something thats taught later.

The more sinister explanation would be that he's contracted (boss,
freelance) to come up with a program, and tries to use us to create it for
him ...

Either way, without seeing the OP putting effort into it himself first I'm
not going to spend any energy on it.

.... I do wonder how his post passed our gatekeeper though ...

Regards,
Rudy Wieser

Re: Write an assembly language program using MASM syntax for the

<73ca857a-3adf-428f-8f2f-09d63b0b654an@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=887&group=comp.lang.asm.x86#887

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: martijnm.bos@nospicedham.gmail.com (Martijn Bos)
Newsgroups: comp.lang.asm.x86
Subject: Re: Write an assembly language program using MASM syntax for the
Date: Wed, 6 Dec 2023 10:36:39 -0800 (PST)
Organization: A noiseless patient Spider
Lines: 46
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <73ca857a-3adf-428f-8f2f-09d63b0b654an@googlegroups.com>
References: <9cffa7a8-64a3-4319-828a-48c239179e9en@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Wed, 06 Dec 2023 18:36:40 +0000
Injection-Info: dont-email.me; posting-host="9dbccc17cff6988e31646ff7f9931410";
logging-data="935166"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3AztexYVzBmPqxbmA1PRDdYEZ6FGFXXg="
User-Agent: G2/1.0
Cancel-Lock: sha1:0E/deArVHNVtRzugmpYffjX7N0w=
 by: Martijn Bos - Wed, 6 Dec 2023 18:36 UTC

chat-gpt comes to mind.

Best regards,
Martijn

Op zaterdag 2 december 2023 om 14:28:58 UTC+1 schreef Abdul Basit:
> Write an assembly language program using MASM syntax for the given statement. You will be required to write procedures for all the given parts. Write MAIN Procedure to execute all the procedures one by one.
>
> Part a: Procedure INPUT NAME: Input a name as string terminated by $ and save it in memory (Use function 1 of INT 21H, loop to implement the operation, and register indirect addressing mode to address the memory).
> Part b: Procedure CASE CONVERSION: Convert the saved string’s case (capital ⇄ small) and save the string with case conversion. (Use logical operation with loop, use based addressing mode to address the memory locations).
> Part c: Procedure VOWELS: Use part a, calculate the number of vowels in the string. (Use conditional jumps)
> Part d: Procedure CONSONANTS: Use part a, calculate the number of consonants in the string. (Use conditional jumps)
> Part e: Procedure BINARY CONVERSION: Use part a, convert the saved ASCII values of whole string to binary values and save the binary characters in the memory. (Use shift or rotate operations, use indexed addressing mode)
> Part f: Procedure HEXADECIMAL CONVERSION: Use part a, convert the saved ASCII values of whole string to hexadecimal values and save the hexadecimal characters in the memory. (Use multiple shifts/rotate
> operations along with loop)
> Part g: Procedure 1’s BITS: Use part e, find the numbers of ones’ bits in the whole string. (Use indexed addressing mode to address the memory).
> Part h: Procedure 0’s BITS: Use part e, find the number of zeros’ bits in the whole string. (Use based addressing mode to address the memory)
> Part i: Procedure REVERSE THE STRING: Use part a, reverse the string and save it in the memory. (Use based and indexed addressing mode)
> Part j: Procedure WITHOUT VOWELS: Use part a & c, remove the vowels from the string and save it in the memory.
> Part k: Procedure WITHOUT CONSONANTS: Use part a & d, remove the consonants from the string and save it in the memory.
> Part l: Procedure PRINTING: Print all the strings in the memory separated by new line. (Using function 9 of INT21H).
>
> use functions and push pop where required, and don't use direct method by using CALL function and RET function.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor