URL
https://opencores.org/ocsvn/t400/t400/trunk
Subversion Repositories t400
Compare Revisions
- This comparison shows the changes necessary to convert path
/t400/trunk/sw/verif/black_box/adt
- from Rev 22 to Rev 176
- ↔ Reverse comparison
Rev 22 → Rev 176
/test.asm
0,0 → 1,38
;; ******************************************************************* |
;; $Id: test.asm,v 1.2 2006-05-15 23:36:16 arniml Exp $ |
;; |
;; Checks the ADT instruction. |
;; |
|
;; the cpu type is defined on asl's command line |
|
org 0x00 |
clra |
|
;; preload M0 with 0xa |
smb 0x3 |
rmb 0x2 |
smb 0x1 |
rmb 0x0 |
|
;; test 0 + 10 |
adt |
ske |
jmp fail |
|
;; preload M0 with 0x4 |
rmb 0x3 |
smb 0x2 |
rmb 0x1 |
rmb 0x0 |
|
;; test 0xa + 10 |
adt |
ske |
jmp fail |
|
|
jmp pass |
|
org 0x100 |
include "pass_fail.asm" |