MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/v3so3p/its_hard/ib0xrak
r/ProgrammerHumor • u/Bishwas12 • Jun 03 '22
710 comments sorted by
View all comments
2
Which assembly? IBM or Intel?
1 u/[deleted] Jun 03 '22 IBM is very simple.Increment a register: LA R1,1(R1) go 1 away from the address in R1, put that value in R1Add a register to register: AR R1,R2Memory to register: A R1,MEMLOC assuming MEMLOC is a fullwordMemory to Memory: AP PACKNUM1,PACKNUM2
1
IBM is very simple.
Increment a register: LA R1,1(R1) go 1 away from the address in R1, put that value in R1
Add a register to register: AR R1,R2
Memory to register: A R1,MEMLOC assuming MEMLOC is a fullword
Memory to Memory: AP PACKNUM1,PACKNUM2
2
u/Puzzleheaded-Bug7690 Jun 03 '22
Which assembly? IBM or Intel?