Jump to content

help on 8086 simulator

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
10 replies to this topic

#1
zeatwork

zeatwork

    Newbie

  • Members
  • Pip
  • 2 posts
have some question can somebody help me in doing this for 8086 simulator..???

a

ab

abc

abcd

abcde

abcdef

abcdefg

abcdefgh

abcdefghi

abcdefghij

abcdefghijk

abcdefghijkl

abcdefghijklm

abcdefghijklmn

abcdefghijklmno

abcdefghijklmnop

abcdefghijklmnopq

abcdefghijklmnopqr

abcdefghijklmnopqrs

abcdefghijklmnopqrst

abcdefghijklmnopqrstu

abcdefghijklmnopqrstuv

abcdefghijklmnopqrstuvw

abcdefghijklmnopqrstuvwx

abcdefghijklmnopqrstuvwxy

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxy

abcdefghijklmnopqrstuvwx

abcdefghijklmnopqrstuvw

abcdefghijklmnopqrstuv

abcdefghijklmnopqrstu

abcdefghijklmnopqrst

abcdefghijklmnopqrs

abcdefghijklmnopqr

abcdefghijklmnopq

abcdefghijklmnop

abcdefghijklmno

abcdefghijklmn

abcdefghijklm

abcdefghijkl

abcdefghijk

abcdefghij

abcdefghi

abcdefgh

abcdefg

abcdef

abcde

abcd

abc

ab

a

thanks a lot...

#2
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Well it's very simple, I'm new to C# but here is the solution :)

			string alphabet = "abcdefghijklmnopqrstuvwxyz";
			int counter = 1;
			for(int i=0;i<=25;i++)
			{
					Console.WriteLine(alphabet.Substring(0,counter));
					counter++;				
			}
			counter=25;
			for(int i=0;i<=25;i++)
			{
					Console.WriteLine(alphabet.Substring(0,counter));
					counter--;
			}
			Console.ReadLine();


#3
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
For a C# newbie, you're not doing too badly. How are you getting on with that RSS Feed I 'set' you?
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#4
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
See the other thread. Uhm well that's nothing... the code I posted is very very basic.. basically nothing in confront the other things I know how to do in C# (again see the other thread) but I'm still a newbie IMO.

#5
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Remind me what "IMO" means?
Good luck with your C# test, anyway.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#6
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
IMO = In My Opinion

Thanks :)

#7
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Cheers, IMO! I was going to ask, IMO - who sets your test, IMO? Is it like a C# course or something, IMO? It sounds like fun... IMO.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#8
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
LoL, you didn't know IMO? hehe that's funny.

#9
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
OK, so now answer my question - who sets your C# test?
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#10
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Uhm... what you mean? The people that manage this course I suppose.

#11
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
At school, I meant. Remind me when it is?
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums