English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Don_Adan
Forum: Coders. Tutorials 14 December 2018, 21:10
Replies: 111
Views: 29,686
Posted By Don_Adan
Remember some Amiga ROM-s routines were reworked...

Remember some Amiga ROM-s routines were reworked a few times. D0-D1/A0-A1 are always Amiga scratch registers, except a few math and exec routines (info is stored inside docs). Of course not always...
Forum: Coders. Tutorials 30 November 2018, 20:10
Replies: 111
Views: 29,686
Posted By Don_Adan
This is easy. Use subx.l D0,D0. If you want to...

This is easy. Use subx.l D0,D0. If you want to save Carry flag. You will be have 0 or -1 in D0.
Forum: Coders. Tutorials 29 November 2018, 22:35
Replies: 111
Views: 29,686
Posted By Don_Adan
Move ccr, d0 dont exist for 68000. move sr, d0...

Move ccr, d0 dont exist for 68000.
move sr, d0 works for 68040/68060 only in privillage mode.
If he want, he can set privillage mode and use move sr, d0. he can use superstate and userstate calls...
Forum: Coders. Tutorials 24 November 2018, 22:52
Replies: 111
Views: 29,686
Posted By Don_Adan
Ok, perhaps i understand, what you need, use next...

Ok, perhaps i understand, what you need, use next code:

lea Base,A6

move.w tab1213-Base(a6), d2
move.w tab1011-Base(a6),d3

Base
....
tab1011 dc.w 0
Forum: Coders. Tutorials 24 November 2018, 20:35
Replies: 111
Views: 29,686
Posted By Don_Adan
Your code looks very strange. No big sense for...

Your code looks very strange. No big sense for me.

The mostly used 68000 version is next:

lea tab,a6 ; base
add.w D0,D0 ; offset seems to be only 0 for your example
move.w (a6,D0.W),D2
...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT +2. The time now is 22:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.04894 seconds with 10 queries