|
|
| Author |
Message |
kalpana
New User
Joined: 19 Nov 2004 Posts: 25 Location: Banglore
|
|
|
|
| Using MVC instruction we can move 255 characters only. Why it is restricted like this. |
|
| Back to top |
|
 |
References
|
Posted: Thu Jul 24, 2008 12:57 pm Post subject: Re: MVC instruction to move 255 characters only |
 |
|
|
 |
UmeySan
Senior Member
Joined: 22 Aug 2006 Posts: 624 Location: Germany
|
|
|
|
Hi kalpana !
Plse search the forum for alittle article about the magic of 255Bytes.
Back to your Question. The length is internaly stored in one byte.
So what is the max. value you could store there ???
If you want to MVC more than that, use MVCL. |
|
| Back to top |
|
 |
Garry Carroll
Active User
Joined: 08 May 2006 Posts: 130 Location: Dublin, Ireland
|
|
|
|
| Quote: |
The length is internaly stored in one byte.
So what is the max. value you could store there ???
|
Yes, but be aware that the length is relatrive to zero. You can get interesting results if the length byte is set to x'FF' !!
Regards,
Garry |
|
| Back to top |
|
 |
UmeySan
Senior Member
Joined: 22 Aug 2006 Posts: 624 Location: Germany
|
|
|
|
@ Garry Carroll !
Thank's for adding this apect. Cause programming in Assembler whole day, i forgot. I allways start counting with zero.
Somtimes i characterize myself as binary zero. |
|
| Back to top |
|
 |
dbzTHEdinosauer
Senior Member
Joined: 20 Oct 2006 Posts: 1373 Location: germany
|
|
|
|
I am stealing this from somebody else that uses this phase in his signature and paraphrasing a bit:
The are 10 types of people in this world. Those that think binary and those who don't.
(The qualification I gave at the beginning of this post was provided,
since I know that there are others who will recognize the phrase
and be pissed because I stole it first!). |
|
| Back to top |
|
 |
Garry Carroll
Active User
Joined: 08 May 2006 Posts: 130 Location: Dublin, Ireland
|
|
|
|
You're probably right to have the qualification lest plagiarism "byte" you.... Is
| Quote: |
| paraphrasing a bit |
possibly? I though they were either 'on' or 'off'. Was never very good at fuzzy logic.....
Garry. |
|
| Back to top |
|
 |
|
|