flat assembler
Message board for the users of flat assembler.

Index > Heap > Biggest program ever created using assembly language

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Dex4u wrote:
Spinrite
http://www.grc.com/spinrite.htm

Friends don't let friends use SpinRite Smile
(it might've made sense in the MFM days, but that's ages ago).

Alphonso wrote:
Why wasn't ld (load) used instead of mov (move)?

because it can store as well? But yeah, it's one of those things I wondered about as well - why it wasn't named "copy"? It doesn't really move anything Smile

_________________
Image - carpe noctem
Post 10 Feb 2013, 07:35
View user's profile Send private message Visit poster's website Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 21:35; edited 1 time in total
Post 10 Feb 2013, 15:16
View user's profile Send private message Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
It does make sense. If the value was moved what value would appear in the register, we move from?

This way, when we want to copy the value we don't need to make any more operations and when we don't need the value in the source register we don't add extra cycles to clear the value anyway.
Post 10 Feb 2013, 15:37
View user's profile Send private message Visit poster's website Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 21:35; edited 2 times in total
Post 10 Feb 2013, 15:43
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
Well this went way off topic ... so I might as well perpetuate it. Razz

ARM has cpy and mov for register to register operations, ldr for memory loads into a register and str for memory stores from a register.
Post 10 Feb 2013, 15:43
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
HaHaAnonymous wrote:
... empty (also known as zero (0)).
I have to disagree here. Zero is not the same as empty (or null). While it is common convention to represent empty or null with zero this is only because of the limitation of the current systems we use (being unable to mark bits as unused or empty). Using the memory management unit we can mark sections of address space as unused but that is a different thing.
Post 10 Feb 2013, 15:47
View user's profile Send private message Visit poster's website Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
revolution wrote:
ARM has cpy and mov for register to register operations


Which do the same Wink

_________________
There's nothing special about it,
It's either there when you're born or not.
Post 10 Feb 2013, 15:55
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
malpolud wrote:
revolution wrote:
ARM has cpy and mov for register to register operations


Which do the same Wink
Almost. All CPYs can be duplicated by MOV, but not all MOVs can be duplicated by CPY.

eg.
Code:
mov r0,r1,lsl 2 ;okay
cpy r0,r1,lsl 2 ;error    
Post 10 Feb 2013, 15:58
View user's profile Send private message Visit poster's website Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 21:35; edited 1 time in total
Post 10 Feb 2013, 16:01
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> Biggest program ever created using assembly language

VirtualPASCAL Very Happy
Post 11 Feb 2013, 05:02
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< 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. Also on YouTube, Twitter.

Website powered by rwasa.