News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

risk

Started by anuradha, June 03, 2007, 03:25:53 AM

Previous topic - Next topic

anuradha

hi guys
i just want to know that is there any risk in assembly???
i'm talking about hardware
if some programe crashes is it possiable to damege hardware???

hutch--

A very long time ago you could damage a monitor in DOS if you did something really bad with video that was not supported by the monitor but in modern operating systems its much harder to damage anything much as most true low level access is difficult to do in a protected mode operating system. In 32 bit Windows, just write good clean code and you will have few problems.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Vortex

anuradha,

It can happen that your application coded with Masm freezes if there is a serious problem but you can kill easily the process using the task manager.

daydreamer

don't worry, in that case you must be very skilled to write a driver, that either messes with overclock GPU or accesses one of the modern motherboards that can overclock cpu/memory and pci/agp clock freq so it damages stuff
not cooled modern harddrive and constantly write/read for hours and hours without downtime and it burned

anuradha

thank you all  :U :U :U

evlncrn8

language probably doesnt matter, c/asm/delphi whatever, all can be bad
if the code is bad.... hardware damage is rare, you could damage cd/dvd drives
by sending ioctl's too many times (invalidating the region etc), but to do so
'randomly' (ie: sending a random / bad packet) would be quite rare...

most likely you'll crash your program or bsod the os...

drhowarddrfine

Well, apparently some of your have forgotten HACF and BCF.

anuradha

hey  drhowarddrfine
what is  this HACF AND BCF

u

 :green2 he linked to it...  ::) . And maybe I should explain that it is a joke.  :P
Please use a smaller graphic in your signature.

CoR

 :green2 :green2 :green2

CMD = CPU Melt down - warning: if CPU is fast enough IP will never be incremented  :cheekygreen:

anuradha

once again thak you all  :U  :U  :U  :U

donkey

Quote from: drhowarddrfine on June 03, 2007, 01:06:00 PM
Well, apparently some of your have forgotten HACF and BCF.

Hey Doc,

That's hilarious :) The IAI (Inquire and ignore) instruction reminds me of my boss.

Donkey
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable