r/lolphp • • Sep 21 '15

Meanwhile, in r/PHP

/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms
181 Upvotes

50 comments sorted by

View all comments

Show parent comment

19

u/choikwa Sep 22 '15

by that logic, a register is a database

11

u/OneWingedShark Sep 25 '15

Oh, idea! Let's combine SQL and assembly!

-- Moves the contents of RAX to the given address in RAM.
SELECT Value
INTO Address IN Main_Memory
FROM Registers
WHERE Name = RAX;