|
| 29 Oct 2014 10:28 PM |
i know this isn't the right place for this, but if anyone knows anything about assembly (there are a lot of group devs who do), can you tell me if this would work?
SECTION .TEXT GLOBAL _MOD; _MOD: MOV BX,ITEM; MOV AX,SECOND; DIV BX; div of ax register MOV RESULT,DX;
SECTION .DATA MOV ITEM,4; MOV SECOND,2; JMP _MOD; sets result to 4 % 2 |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2014 10:30 PM |
b1
semicolons are love, semicolons are life |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2014 10:34 PM |
b2
semicolons are love, semicolons are life |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2014 10:49 PM |
b3
semicolons are love, semicolons are life |
|
|
| Report Abuse |
|
|
lukrio
|
  |
| Joined: 31 May 2013 |
| Total Posts: 5982 |
|
| |
|
Procellus
|
  |
| Joined: 28 Oct 2014 |
| Total Posts: 1525 |
|
|
| 29 Oct 2014 10:50 PM |
@lukrio
ASM
which i haven't done in a bit so |
|
|
| Report Abuse |
|
|
lukrio
|
  |
| Joined: 31 May 2013 |
| Total Posts: 5982 |
|
|
| 29 Oct 2014 10:53 PM |
| briefly from this article that i read on ASM it looks like you're all in order KOT |
|
|
| Report Abuse |
|
|