Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 05-09-2013, 12:16 AM   #1
Solid State Member
Join Date: Feb 2013
Location: Israel
Posts: 18
Default Assembly drop random 0 1

Someone can send me an assembly code (like txt) that drops 1 and 0 randomly?


LawnBranch is offline   Reply With Quote
Old 05-10-2013, 06:06 AM   #2
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 8,107
Default Re: Assembly drop random 0 1

assembly for what processors?

if you need us to do your homework for you then you need to explain the whole assignment, not just the last sentence or general gist.

on top of that, how random? (random is very hard to achieve in a program, in fact practically all programs are either pseudo random, or use an external source, (e.g. they aren't random, they just measure an event that is random).
so what source are you wanting to use to seed you pseudo random event of 1 / 0 dropping?
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 01:39 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0