ANIMAL11 Member A Join Date Sep 2010 Location NW Posts 1 Sep 18, 2010 #1 Hi folks i was just wondering if there is a multiple device rst command instead of having to rst every single one, say i wanted to mov a value of K0 into D100 to D120 any help would be ace thanx
Hi folks i was just wondering if there is a multiple device rst command instead of having to rst every single one, say i wanted to mov a value of K0 into D100 to D120 any help would be ace thanx
Badger Member Join Date May 2005 Location Redditch Worc`s Posts 410 Sep 18, 2010 #2 ??? -II-------[MOV K0 D100 D120]- Try this, I'm not sure but I think this should do it for you.
Badger Member Join Date May 2005 Location Redditch Worc`s Posts 410 Sep 18, 2010 #3 Badger said: ??? -II-------[MOV K0 D100 D120]- Try this, I'm not sure but I think this should do it for you. Click to expand... Or maybe -II-------[ZRST D100 D120]- I think this may work ZRST = Zone reset
Badger said: ??? -II-------[MOV K0 D100 D120]- Try this, I'm not sure but I think this should do it for you. Click to expand... Or maybe -II-------[ZRST D100 D120]- I think this may work ZRST = Zone reset
longshanks Member L Join Date Aug 2009 Location Carlton, Or Posts 69 Sep 18, 2010 #4 Another handy one is FMOV. This moes a specified value into registers starting at, say D100 for Kxx number: --][--[FMOV K0 D100 k10] moves the value 10 into d100 through d109.
Another handy one is FMOV. This moes a specified value into registers starting at, say D100 for Kxx number: --][--[FMOV K0 D100 k10] moves the value 10 into d100 through d109.
longshanks Member L Join Date Aug 2009 Location Carlton, Or Posts 69 Sep 18, 2010 #5 Whoops, that should be the value of zero, not tem. Was a finger check. To do a vaule of ten would be: -][-[FMOV K10 D100 K10]
Whoops, that should be the value of zero, not tem. Was a finger check. To do a vaule of ten would be: -][-[FMOV K10 D100 K10]
parky Member P Join Date Oct 2004 Location Midlands Posts 5,748 Sep 19, 2010 #6 Zone Reset is the way to go you can reset words or bits
zai_jnr Member Z Join Date May 2008 Location MALAYSIA Posts 169 Sep 19, 2010 #7 longshanks said: Another handy one is FMOV. This moes a specified value into registers starting at, say D100 for Kxx number: --][--[FMOV K0 D100 k10] moves the value 10 into d100 through d109. Click to expand... using FMOV instruction, ----[FMOV K0 D100 k10] --- > this instruction will moves the value 0 into d100 through d109
longshanks said: Another handy one is FMOV. This moes a specified value into registers starting at, say D100 for Kxx number: --][--[FMOV K0 D100 k10] moves the value 10 into d100 through d109. Click to expand... using FMOV instruction, ----[FMOV K0 D100 k10] --- > this instruction will moves the value 0 into d100 through d109
Goody Member Join Date Apr 2002 Location Huddersfield W Yorks UK Posts 1,081 Sep 19, 2010 #8 It's an 'A' series - ZRST is nor supported in that CPU A straight MOV would not be accepted either FMOV is the only way to go
It's an 'A' series - ZRST is nor supported in that CPU A straight MOV would not be accepted either FMOV is the only way to go