flat assembler
Message board for the users of flat assembler.

Index > Heap > Back

Author
Thread Post new topic Reply to topic
CampTheBoss



Joined: 02 Feb 2015
Posts: 42
Location: A chair
CampTheBoss
After a few months I decided that I should come back to FASM.
I lost all my projects anyway because I had to format my disk and I couldn't back up anything Razz


Anyway, how do you program in assembly language again?
Post 04 Aug 2015, 11:10
View user's profile Send private message Send e-mail Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 257
Trinitek
mov ax, 0x1234

That'll cover about 90% of it.
Post 04 Aug 2015, 12:41
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1409
Location: Toronto, Canada
AsmGuru62
Good one!
Post 04 Aug 2015, 14:30
View user's profile Send private message Send e-mail Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
Trinitek wrote:
mov ax, 0x1234

That'll cover about 90% of it.


Actually. The most common is cmp/test.

Almost every code has condition checking. From loops to boundary checks.
Post 04 Aug 2015, 14:35
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17278
Location: In your JS exploiting you and your system
revolution
Since the Intel opcode MOV is Turing complete then there is no need to use any other opcode.
Post 04 Aug 2015, 14:50
View user's profile Send private message Visit poster's website Reply with quote
Foxxy



Joined: 14 Jul 2014
Posts: 42
Location: Somewhere over the rainbow...
Foxxy
Unless you want readability Smile
Post 04 Aug 2015, 22:42
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
Quote:

After a few months I decided that I should come back to FASM.

Me too! Don't know if you all noticed but I was inactive for about 2 months.

Quote:

I lost all my projects anyway because I had to format my disk and I couldn't back up anything

I bet you could. But you did not know how.

Quote:

Anyway, how do you program in assembly language again?

I use a text editor to write the code, and FASM to assemble. It couldn't be simpler.

I am currently making programs for my newest series: "Useless programs that can be useful - Copyright © 2015 HaHaAnonymous".

Thank you!
Post 05 Aug 2015, 00:36
View user's profile Send private message Reply with quote
CampTheBoss



Joined: 02 Feb 2015
Posts: 42
Location: A chair
CampTheBoss
HaHaAnonymous wrote:
Quote:

After a few months I decided that I should come back to FASM.

Me too! Don't know if you all noticed but I was inactive for about 2 months.

Quote:

I lost all my projects anyway because I had to format my disk and I couldn't back up anything

I bet you could. But you did not know how.

Quote:

Anyway, how do you program in assembly language again?

I use a text editor to write the code, and FASM to assemble. It couldn't be simpler.

I am currently making programs for my newest series: "Useless programs that can be useful - Copyright © 2015 HaHaAnonymous".

Thank you!


About the backup thing i couldn't, the disk was full of bad sectors and the folder which i kept my projects in (Asm Projects) was corrupt
Post 05 Aug 2015, 09:48
View user's profile Send private message Send e-mail Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17278
Location: In your JS exploiting you and your system
revolution
Maybe we don't need to write any instructions at all.

Using just page faults. No "actual" instructions are executed.
Post 10 Aug 2015, 14:34
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
revolution wrote:
Maybe we don't need to write any instructions at all.

Using just page faults. No "actual" instructions are executed.


I didn't take time to click on the link but I'm guessing it's redirection using errors.
It's bad practice.

And how do you generate page faults without executing instructions?
Post 10 Aug 2015, 20:26
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17278
Location: In your JS exploiting you and your system
revolution
typedef wrote:
And how do you generate page faults without executing instructions?
Just as was explained in the link.
typedef wrote:
I didn't take time to click on the link ...
Oh.
Post 10 Aug 2015, 22:27
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.