Welcome to Dream.In.Code
Become an Expert!

Join 149,573 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,674 people online right now. Registration is fast and FREE... Join Now!




convert basic programming code to asm code

 
Reply to this topicStart new topic

convert basic programming code to asm code

smile21
3 Oct, 2007 - 12:20 AM
Post #1

New D.I.C Head
*

Joined: 3 Oct, 2007
Posts: 4


My Contributions
[font=Georgia][size=5]
plz help me convert this basic program to asm..





CLS

INPUT "SPEED?<1000>", D

IF D=0 THEN D=1000



INPUT "HOW MANY TIMES?<5>",T

IF T=0 THEN T=5



FOR R=1 TO T

FOR 1=0 TO 7



OUT &H378, 2^1

FOR T=1 TO D

NEXT

NEXT

OUT &H378, 0

FOR 1=0 TO 3



OUT &H37A, 11 XOR 2^1

FOR T=1 TO D

NEXT

NEXT

OUT &H37A,11



FOR 1=3 TO 0 STEP-1

OUT &H37A, 11 XOR 2^1

FOR T=1 TO D

NEXT

NEXT

OUT &H37A,11

FOR 1=7 TO 0 STEP-1

OUT &H378,2^1

FOR T=1 TO D

NEXT

NEXT

OUT &H378,0

NEXT









needed asap.. tnx!




User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Convert Basic Programming Code To Asm Code
3 Oct, 2007 - 04:39 AM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,482



Thanked: 161 times
Dream Kudos: 9050
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Welcome to </dream.in.code> smole21, glad you could join us! smile.gif

Next, your programming question needs to be posted in the appropriate forum, theres even a header in this forum that says NO PROGRAMMING QUESTIONS, yet you still posted one. Not only that you double posted one, a double no-no. Don't post this questions again, Ill try to get a team members to move this post to the correct forum.
User is offlineProfile CardPM
+Quote Post

Louisda16th
RE: Convert Basic Programming Code To Asm Code
3 Oct, 2007 - 06:33 AM
Post #3

 101010101
Group Icon

Joined: 3 Aug, 2006
Posts: 1,812



Thanked: 1 times
Dream Kudos: 755
My Contributions
Welcome to </DIC> !
User is offlineProfile CardPM
+Quote Post

PennyBoki
RE: Convert Basic Programming Code To Asm Code
3 Oct, 2007 - 01:54 PM
Post #4

system("revolution");
Group Icon

Joined: 11 Dec, 2006
Posts: 2,010



Thanked: 7 times
Dream Kudos: 500
Expert In: Java,C++,C

My Contributions
Hi smile21, welcome!
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 10:26PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month