text
stringlengths
1
1.05M
; A301677: Partial sums of A301676. ; 1,5,13,26,44,66,93,124,159,200,244,292,347,404,465,534,604,678,761,844,931,1028,1124,1224,1335,1444,1557,1682,1804,1930,2069,2204,2343,2496,2644,2796,2963,3124,3289,3470,3644,3822,4017,4204,4395,4604,4804,5008,5231,5444,5661,5898,6124,6354,6605,6844,7087 mov $1,$0 mov $4,$0 lpb $0...
SECTION rodata_driver PUBLIC __pc88_lores_pixel_map __pc88_lores_pixel_map: defb $01,$02,$04,$08,$10,$20,$40,$80
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosClose DOS wrapper ; ; (c) osFree Project 2018, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushev (y...
db 0 ; species ID placeholder db 90, 85, 75, 115, 115, 100 ; hp atk def spd sat sdf db ELECTRIC, ELECTRIC ; type db 3 ; catch rate db 216 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_UNKNOWN ; gender ratio db 100 ; unknown 1 db 80 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/r...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: File FILE: fileMain.asm AUTHOR: Dennis Chow, December 12, 1989 METHODS: Name Description ---- ----------- REVISION HISTORY: Name Date...
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021-2022 Marco Spedaletti (asimov@mclink.it) ; * ; * Licens...
; A010876: a(n) = n mod 7. ; 0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3 mod $0,7 mov $1,$0
// // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #define BOOST_LOCALE_SOURCE #include <locale> #include <stdexcept> #include <boost/locale/generator...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0xfe57, %rdi sub $22711, %r12 mov $0x6162636465666768, %rbx movq %rbx, (%rdi) nop nop add $35870, %rbp lea addresses_normal_ht+0x1e0f7, %rsi lea addresses_normal_ht+0xefbf, %rdi nop add ...
; A004609: Expansion of sqrt(6) in base 2. ; Submitted by Jamie Morken(s4) ; 1,0,0,1,1,1,0,0,1,1,0,0,0,1,0,0,0,1,1,1,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,1,0,1,1,1,0,0,1,1,1,1,1,0,1,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,0,1,1,0,0,1,0,0,0,0 mov $1,1 mov $2,1 mov $3,$0 add $3,2 mov $...
SECTION code_crt0_sccz80 PUBLIC l_case ; Entry: hl = value to switch on ; (sp) = switch table (i.e. the return address) .l_case ld d,h ;After de = switch value ld e,l pop hl ;hl = switch table .swloop ld c,(hl) inc hl ld b,...
#include <cstdlib> #include <boost/hana/assert.hpp> #include <gem/gem.hpp> using namespace gem; using namespace boost::hana; auto main(void) -> int { // { // Dimension d1 {2}; // auto d2 = 3u; // BOOST_HANA_RUNTIME_CHECK(less(d1, d2)); // BOOST_HANA_RUNTIME_CHECK(d2 > d1); //...
; ; File: x86/pumpcore/head.asm ; ; The kernel entry point for x86 processors. ; 32 bit. ; ; The kernel image was loaded in the physical address 0x00100000, ; with the entry point in 0x00101000. ; The linear address is 0xC0000000. ; The boot loader made some initial memory configuration. Only ; enough to jum...
; A209084: a(n) = 2*a(n-1) + 4*a(n-2) with n>1, a(0)=0, a(1)=4. ; 0,4,8,32,96,320,1024,3328,10752,34816,112640,364544,1179648,3817472,12353536,39976960,129368064,418643968,1354760192,4384096256,14187233280,45910851584,148570636288,480784678912,1555851902976,5034842521600,16293092655104,52725555396608,170623481413632,55...
db 'jmpx4',0 Label0: jmp Label0 Label1: jmp Label0 Label2: jmp Label0 Label3: jmp Label0 db 'jo',0 jo Label0 db 'jno',0 jno Label0 db 'jb',0 jb Label0 db 'jnb',0 jnb Label0 db 'jz',0 jz Label0 db 'jnz',0 jnz Label0 db 'jbe',0 jbe Label0 db 'jnbe',0 jnbe Label0
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld a, ff ldff(45), a ld b, 42 call lwaitly_b ld a, 40 ldff(41), a ld a, 02 ldff(ff), a xor a, a ldff(0f), a ei ld a, b inc a inc a ldff(...
; float log1p(float x) __z88dk_fastcall SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccix_log1p_fastcall EXTERN cm48_sdccixp_dx2m48, am48_log1p, cm48_sdccixp_m482d cm48_sdccix_log1p_fastcall: call cm48_sdccixp_dx2m48 call am48_log1p jp cm48_sdccixp_m482d
; A020761: Decimal expansion of 1/2. ; 5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 pow $1,$0 mul $1,5
; A102083: a(n) = 8*n^2 + 4*n + 1. ; 1,13,41,85,145,221,313,421,545,685,841,1013,1201,1405,1625,1861,2113,2381,2665,2965,3281,3613,3961,4325,4705,5101,5513,5941,6385,6845,7321,7813,8321,8845,9385,9941,10513,11101,11705,12325,12961,13613,14281,14965,15665,16381,17113,17861,18625,19405,20201,21013,21841,22685,23545,24421...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x3af3, %rsi lea addresses_D_ht+0x5210, %rdi nop nop nop nop xor %rdx, %rdx mov $52, %rcx rep movsw nop nop nop nop nop dec %r11 lea addresses_UC_ht+0xd010, %r12 nop nop nop nop nop sub %rdx, %rdx...
; FV-1 Testing ; ; Program: Cancellation ; ; Run a sin LFO and test exp/log cancellation: ; ; x = 2**log(x) ; ; POT0: Offset ; POT1: Level ; ; Prepare LFOs skp RUN,main wlds SIN0,100,32767 main: rdax POT0,-1.0 ; load POT0 inverted sof -2.0,-1.0 ; flip and invert wrax REG0,0.0 ; save DC offset and clear acc cho r...
/* Copyright (c) 2016 nemesis project/mrn@sdf.org. All rights reserved. http://mrn.sixbit.org/ Governed by the BSD 2 Clause license, the full text of which is contained in the file License.txt included in nemesis binary and source code distribution packages. Based on TrueCrypt 7.1a, which was governed by the Tru...
/* * Copyright (c) 2019, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
############################################################################### # Copyright 2018 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
SCLK .set 3 MOSI .set 2 MISO .set 5 ; TODO: v2-branch has improved but untested code (hw-loops, simultanious mosi / clk setting) ; TODO: code of DAC is 1:1 replacement, ADC is more difficult .macro NOP ; TODO: this assembler understands a simple NOP, without macro MOV r23, r23 .endm .global adc_readwrite adc...
nop nop nop main: addi $sp, $sp, 128 addi $a0, $0, 8 # n = 8 addi $s3, $0, 1 addi $s4, $0, 2 jal fib add $s0, $v0, $0 j done fib: addi $sp, $sp, -20 sw $ra, 20($sp) beq $a0, $s3, n0 beq $a0, $s4, n1 sw $a0, 0($sp) lw $t0, 0($sp) addi $t1, $t0, -1 addi $t2, $t0, -2 sw $t1, 4($sp) sw $t2, 8($sp) ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "primitives/block.h" #include "hash.h" #include "tinyformat.h" #include...
#include <v8.h> #include <node.h> #include <libtorrent/storage.hpp> #include "storage.hpp" using namespace v8; using namespace node; namespace nodelt { void bind_storage(Handle<Object> target) { // set libtorrent::storage_mode_t Local<Object> storage_mode_t = Object::New(); storage_mode_t->Set(String...
; A169515: Number of reduced words of length n in Coxeter group on 22 generators S_i with relations (S_i)^2 = (S_i S_j)^34 = I. ; 1,22,462,9702,203742,4278582,89850222,1886854662,39623947902,832102905942,17474161024782,366957381520422,7706105011928862,161828205250506102,3398392310260628142,71366238515473190982 add $0,...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x1124c, %rsi lea addresses_D_ht+0x5dda, %rdi add $50017, %rbx mov $17, %rcx rep movsw nop nop nop cmp %r13, %r13 lea addresses_A_ht+0xc4a, %rsi lea addresses_D_ht+0xa4da, %rdi...
; A026602: n-th number k such that s(k) = 2, where s = A026600. ; 2,4,9,10,15,17,21,23,25,28,33,35,39,41,43,47,49,54,57,59,61,65,67,72,73,78,80,82,87,89,93,95,97,101,103,108,111,113,115,119,121,126,127,132,134,137,139,144,145,150,152,156,158,160 mov $2,$0 lpb $0 add $1,$0 add $1,$0 div $0,3 lpe add $0,$1 add $0,...
BITS 32 global _MeasurementChain_Start global _MeasurementChain_Checkpoint global _MeasurementChain_End global _FunctionTracePack_Start global _FunctionTracePack_End section .text _MeasurementChain_Start: push eax push edx mov eax, 0xFFFFFFF0 ; callcount inc dword [eax] rdtsc mov dword [0xFFFFF...
FuchsiaPokecenter_Script: call Serial_TryEstablishingExternallyClockedConnection jp EnableAutoTextBoxDrawing FuchsiaPokecenter_TextPointers: dw FuchsiaHealNurseText dw FuchsiaPokecenterText2 dw FuchsiaPokecenterText3 dw FuchsiaTradeNurseText FuchsiaHealNurseText: TX_POKECENTER_NURSE FuchsiaPokecenterText2: T...
; A123168: Continued fraction for c = sqrt(2)*(exp(sqrt(2))-1)/(exp(sqrt(2))+1). ; 0,1,6,5,14,9,22,13,30,17,38,21,46,25,54,29,62,33,70,37,78,41,86,45,94,49,102,53,110,57,118,61,126,65,134,69,142,73,150,77,158,81,166,85,174,89,182,93,190,97,198,101,206,105,214,109,222,113,230,117,238,121,246,125,254,129,262,133,270,137,...
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/login/ui/arrow_button_view.h" #include <utility> #include "ash/resources/vector_icons/vector_icons.h" #include "ash/style/ash_color_provid...
; A101604: a(n) = 2*a(n-1) + 5*a(n-2) + 2*a(n-3). ; 1,2,9,30,109,386,1377,4902,17461,62186,221481,788814,2809405,10005842,35636337,126920694,452034757,1609945658,5733906489,20421610782,72732645325,259041157538,922588763265,3285848604870,11702723341141 mov $3,2 mov $5,$0 lpb $3 mov $0,$5 sub $3,1 add $0,$3 cal ...
; void *z80_otdr(void *src, uint16_t port) SECTION code_z80 PUBLIC z80_otdr_callee EXTERN asm_z80_otdr z80_otdr_callee: pop hl pop bc ex (sp),hl jp asm_z80_otdr
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld a, ff ldff(45), a ld b, 03 call lwaitly_b ld a, 40 ldff(41), a ld a, 02 ldff(ff), a ei ld a, b inc a inc a ldff(45), a ld c, 0f .text@1000 lstatint: nop nop nop nop ldff(45), a ldff a, (c) and a, b jp lpr...
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
// // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2015, 2021 // // Copyright: See COPYING file that comes with this distribution // #pragma once #include <utility> #include <memory> #include <atomic> #include <functional> namespace wflow{ template<typename H> struct callback_handler { typedef std::fu...
ld a,(Fuel) ld de,txt_fuel_level ld c, -100 call .Num1 ld c,-10 call .Num1 ld c,-1 .Num1: ld b,'0'-1 .Num2: inc b add a,c jr c,.Num2 sub c push bc push af ld a,c cp -1 call z,.InsertDot ld a,b ld (de),a inc de pop af pop bc ret .InsertDot: ld a,'.' ...
; Test case: ld ix,val ld b,(ix+1) ld c,(ix+2) ld (val2),bc loop: jr loop val: db 0,0,0 val2: dw 0
; size_t b_vector_write_block_callee(void *src, size_t n, b_vector_t *v, size_t idx) SECTION code_adt_b_vector PUBLIC _b_vector_write_block_callee _b_vector_write_block_callee: pop af exx pop hl exx pop de pop hl pop bc push af INCLUDE "adt/b_vector/z80/asm_b_vector_write_block.asm"
frame 1, 10 frame 2, 40 frame 1, 06 endanim
; A052201: Equivalent of the Kurepa hypothesis for left factorial. ; Submitted by Jon Maiga ; 4,15,48,175,816,4851,34960,292743,2774040,29251651,339184776,4285584615,58571107168,860622082035,13525670637216,226358825764711,4018390654376520,75413358213752643,1491684815796629080 add $0,2 lpb $0 add $1,$0 add $1,1 m...
// Copyright (c) 2012-2016, The CryptoNote developers, The Bytecoin developers // // This file is part of Bitcoinphantom. // // Bitcoinphantom is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either ve...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r14 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x11241, %r14 nop nop nop nop xor %r10, %r10 movl $0x61626364, (%r14) nop nop nop nop nop add $62200, %r11 lea addresses_UC_ht+0x714f, %rsi lea addresses_A_ht+0x1e41, %rdi clf...
//================================================================================================= /*! // \file src/mathtest/dmatsmatadd/MDbDCa.cpp // \brief Source file for the MDbDCa dense matrix/sparse matrix addition math test // // Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved // // This file ...
// -*- mode: c++; indent-tabs-mode: nil; -*- // // Copyright (c) 2009-2013 Illumina, Inc. // // This software is provided under the terms and conditions of the // Illumina Open Source Software License 1. // // You should have received a copy of the Illumina Open Source // Software License 1 along with this program. If ...
; void zx_visit_wc_pix(struct r_Rect8 *r, void *function) SECTION code_clib SECTION code_arch PUBLIC _zx_visit_wc_pix_callee EXTERN asm_zx_visit_wc_pix _zx_visit_wc_pix_callee: pop hl pop bc ex (sp),hl l0_zx_visit_wc_pix_callee: ex de,hl push bc ex (sp),ix call asm_zx_visit_wc_pix p...
IDD_DLGVERSION equ 1700 IDC_EDTVERFILE equ 2903 IDC_EDTVERPROD equ 2904 IDC_CBOVEROS equ 2905 IDC_CBOVERTYPE equ 2906 IDC_CBOVERLANG equ 2907 IDC_CBOVERCHAR equ 2908 IDC_LSTVER equ 2909 IDC_EDTVER equ 2910 IDC_EDTVERTPE equ 2911 IDC_BTNVERADD equ 2912 .const szVerOS dd 00000004h ...
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/06/pong/Pong.asm // The Pong game program was originally written in the high-level Jack language. // The Jack code was then translated by the Jack compiler i...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r9 push %rcx push %rdx push %rsi lea addresses_normal_ht+0x1c65c, %r13 nop nop nop nop cmp %r10, %r10 movw $0x6162, (%r13) nop nop nop nop dec %rdx lea addresses_WC_ht+0x1097a, %rsi nop nop nop sub $39708, %rdx mov (%rsi), %rcx nop nop nop nop nop s...
; Object Mappings Subtype Frame Arttile dbglistobj Obj_Ring, Map_Ring, 0, 0, make_art_tile($6BC,1,1) dbglistobj Obj_Monitor, Map_Monitor, 6, 0, make_art_tile($4C4,0,0) dbglistobj Obj_PathSwap, Map_PathSwap, 9, 1, make_art_tile($6BC,1,0) dbglistobj Obj_PathSwap, Map_PathSwap, ...
// (C) Copyright Daniel James 2005. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include "./config.hpp" #ifdef TEST_EXTENSIONS # ifdef TEST_STD_INCLUDES # include <f...
#pragma once #include <protobuf/RadioRx.pb.h> #include <protobuf/RadioTx.pb.h> #include <protobuf/Robot.pb.h> #include <RobotIntent.hpp> #include <motion/MotionSetpoint.hpp> #include <set> #include "RobotStatus.hpp" #include "protobuf/grSim_Commands.pb.h" #include "protobuf/messages_robocup_ssl_robot_status.pb.h" #i...
; A287922: a(n) = prime(1)^2 + prime(n)^2. ; 8,13,29,53,125,173,293,365,533,845,965,1373,1685,1853,2213,2813,3485,3725,4493,5045,5333,6245,6893,7925,9413,10205,10613,11453,11885,12773,16133,17165,18773,19325,22205,22805,24653,26573,27893,29933,32045,32765,36485 cal $0,138690 ; Numbers of the form 56+p^2 (where p is a ...
PUBLIC pixeladdress EXTERN base_graphics ; ; $Id: pixladdr.asm,v 1.5 2015/01/19 01:32:52 pauloscustodio Exp $ ; ; ****************************************************************** ; ; Get absolute pixel address in map of virtual (x,y) coordinate. ; ; Design & programming by Gunther Strube, Copyright (C) InterLo...
#pragma once #ifdef DECLARE_EVENT #error "DECLARE_EVENT is already defined! Undefine it before including macros.hpp!" #endif // Declares a event with the given type, and name. // Creates the field and the add/remove methods #define DECLARE_EVENT(type, name) \ DECLARE_INSTANCE_FIELD(type, name); \ DECLARE_METHOD...
// Original test: ./lena/hw4/problem6/jalr_1.asm // Author: lena // Test source code follows //test that jalr returns to proper instruction with offset jal 4 halt nop addi r1, r7, 2 jalr r1, -2
; first setup of a window include win1_mac_oli include win1_keys_wman include win1_keys_wwork section utility xdef xwm_fset ;+++ ; first setup of a window ; ; Entry Exit ; d1.l size (or 0, or -1) ; a2 wman vector ; a3 primary block ; a6 global status area ;--- xwm_fset subr a3/d1-d3 move.l d1,d2 ; size ...
; ; KISS TNC for the TNC-2 and clones ; ; k3mc 30 Sep 86 - original version ; ; 1 Mar 87. Fixed all known bugs. Re-arrange code to allow ROMing (this ; means that data areas need to be initialized from the code). Figure out the ; Stack Pointer given the amount of available RAM. Include the codes ...
global _foo:function _foo:
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2011-2012 Litecoin Developers // Copyright (c) 2013 livecoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license...
Trade_PrintPlayerMonInfoText: hlcoord 5, 0 ld de, Trade_MonInfoText call PlaceString ld a, [wTradedPlayerMonSpecies] ld [wd11e], a predef IndexToPokedex hlcoord 9, 0 ld de, wd11e lb bc, LEADING_ZEROES | 1, 3 call PrintNumber hlcoord 5, 2 ld de, wcf4b call PlaceString hlcoord 8, 4 ld de, wTradedPlayerMonO...
; A056791: Weight of binary expansion of n + length of binary expansion of n. ; 1,2,3,4,4,5,5,6,5,6,6,7,6,7,7,8,6,7,7,8,7,8,8,9,7,8,8,9,8,9,9,10,7,8,8,9,8,9,9,10,8,9,9,10,9,10,10,11,8,9,9,10,9,10,10,11,9,10,10,11,10,11,11,12,8,9,9,10,9,10,10,11,9,10,10,11,10,11,11,12,9,10,10,11,10,11,11 mov $2,$0 lpb $0 add $0,1 d...
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 0f in $0xf,%al 8010000c <entry>:...
; A274047: Diameter of Generalized Petersen Graph G(n, 2). ; 2,4,3,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27...
; ; This file is automatically generated ; ; Do not edit!!! ; ; djm 12/2/2000 ; ; ZSock Lib function: device_online PUBLIC deviceonline EXTERN no_zsock INCLUDE "packages.def" INCLUDE "zsock.def" .deviceonline call_pkg(tcp_online) ret nc ; We failed..are we installed? cp rc_pnf scf ;signal error ret nz ...
; 殆どの機能を削った CRT0 ; ; - スタックを設定して main() にジャンプするだけ ; - main() は引数無し, リターンしない(すると暴走する) ; - bss セクションのクリアをしないので, 静的変数は各自初期化してください ; ; @author Snail Barbarian Macho (NWK) ; @date 2012.06.23 defc crt0 = 1 INCLUDE "zcc_opt.def" EXTERN _main ; main() のシンボル PUBLIC l_dcal ...
// Create a n x m rectangle by manipulating the screen register // PSEUDO CODE: // addr = SCREEN // n = RAM[0] // i = 0 // LOOP: // if i > n goto END // RAM[addr] = -1 (set pixels to black) // addr = addr + 31 // i = i + 1 // goto LOOP // END: // goto END @SCREEN D=A @addr M=D // addr = 16384 register ...
.text main: li $t0, 0x1234abcd li $t1, 12 # Should be 0x4abcd123 rolv $a0, $t0, $t1 li $v0, 34 syscall li $a0, ' ' li $v0, 11 syscall # Should be 0xbcd1234a rorv $a0, $t0, $t1 li $v0, 34 syscall
; A045991: a(n) = n^3 - n^2. ; 0,0,4,18,48,100,180,294,448,648,900,1210,1584,2028,2548,3150,3840,4624,5508,6498,7600,8820,10164,11638,13248,15000,16900,18954,21168,23548,26100,28830,31744,34848,38148,41650,45360,49284,53428,57798,62400,67240,72324,77658,83248,89100,95220,101614,108288,115248,122500,130050,137904,146068...
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
BITS 16 ORG 0xA000 %include "src/boot/structures.asm" stage2: ; Retrieve memory information from BIOS call get_mem_info ; Locate KERNEL.ELF mov si, ROOT_DIR mov di, KERNEL_STR call fat32_findfile cmp edi, 0 je no_kernel ; Put starting cluster in EAX ; DI contains starting c...
;******************************************************************************************************** ; uC/OS-II ; The Real-Time Kernel ; ; Copyright 1992-2021 Silicon Laboratories Inc. www.silabs.com ; ; ...
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2001, 2002, 2003 Sadruddin Rejeb Copyright (C) 2005 StatPro Italia srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ Qua...
// basic starter BasicUpstart2(main) * = $080d // assembler start address main: ldy #$0 // y will be the offset into the lengths and offsets byte array ldx #0 loop: tya pha // calc y as offset for start printing * lda #11 clc sbc lengths,y tay // calc length of asteriks txa asl // lengths...
; ; ; Z88 Maths Routines ; ; C Interface for Small C+ Compiler ; ; 7/12/98 djm ;double ceil(double) ;Number in FA.. ; ;This is implemented as -(floor(-x)) SECTION code_fp INCLUDE "target/z88/def/fpp.def" PUBLIC ceil EXTERN fs...
.size 8000 .text@48 inc a ldff(45), a jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld a, ff ldff(45), a ld b, 03 call lwaitly_b ld a, 40 ldff(41), a ld a, 02 ldff(ff), a ei ld a, b inc a inc a ldff(45), a ld c, 0f .text@1000 lstatint: xor a, a ldff(41), a .text@105a xor a, ...
; A249407: Numbers not in A249406. ; 2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,57,58,59,60,61,62,63,64,65,66,67,68,69,70 mov $2,$0 add $0,5 add $2,2 mov $1,$2 add $2,4 lpb $0 sub $0,1 sub $2,$0 sub $0,$2 ...
; A134429: Array read by rows: row n lists 4 terms: k, m, k, m where k = 8n+3 and m = -8n -5. ; 3,-5,3,-5,11,-13,11,-13,19,-21,19,-21,27,-29,27,-29,35,-37,35,-37,43,-45,43,-45,51,-53,51,-53,59,-61,59,-61,67,-69,67,-69,75,-77,75,-77,83,-85,83,-85,91,-93,91,-93,99,-101,99,-101,107,-109,107,-109,115,-117,115,-117,123,-125...
; Scroll Spectrum/TS2068 up ; ; Relies on ROM routines to perform the scroll ; ; Toggle on __zx_screenmode to determine whether to scroll ; the second display ; MODULE __zx_scrollup SECTION code_driver PUBLIC __zx_scrollup EXTERN call_rom3 EXTERN __zx_screenmode EXTERN __zx_console_attr ...
; ; Copyright (c) 2010 The Webm project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
; A164001: Spiral of triangles around a hexagon. ; 1,2,3,4,5,7,9,12,16,21,28,37,49,65,86,114,151,200,265,351,465,616,816,1081,1432,1897,2513,3329,4410,5842,7739,10252,13581,17991,23833,31572,41824,55405,73396,97229,128801,170625,226030,299426,396655,525456,696081,922111,1221537,1618192,2143648,2839729,3761840,4983377,6...
#include "qrcodedialog.h" #include "ui_qrcodedialog.h" #include "bitcoinunits.h" #include "guiconstants.h" #include "guiutil.h" #include "optionsmodel.h" #include <QPixmap> #include <QUrl> #include <qrencode.h> QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) : ...
/* //@HEADER // ************************************************************************ // // KokkosKernels 0.9: Linear Algebra and Graph Kernels // Copyright 2017 Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retain...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x15bbe, %r14 nop nop nop cmp %rbx, %rbx movb $0x61, (%r14) nop nop cmp $32700, %rdx lea addresses_WT_ht+0x12a9c, %r9 nop and %rdi, %rdi mov $0x6162636465666768, %r14...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Compute the line coordinates and put into a vector ; Basic concept by Rafael de Oliveira Jannone (calculate_side) ; ; Stefano Bodrato - 13/3/2009 ; ; ; $Id: w_stencil_add_circle.asm,v 1.3 2016/04/23 20:3...
#include "reflection.h" Reflection::Reflection(short width, short height) :ShadowRays(width, height) { } Reflection::~Reflection() { } Payload Reflection::Hit(const Ray& ray, const IntersectableData& data, const MaterialTriangle* triangle, const unsigned int raytrace_depth) const { if (raytrace_depth <= 0) { ...
// -*- C++ -*- // // Package: TauTagValidation // Class: TauTagValidation // /**\class TauTagValidation TauTagValidation.cc Description: <one line class summary> Class used to do the Validation of the TauTag Implementation: <Notes on implementation> */ // // Original Author: Ricardo Vasquez Sierra // ...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h" #include "base/strings/utf_string_conversions.h" #include "chrome/brow...
; A110132: a(n) = floor(n/2)^ceiling(n/2). ; 1,0,1,1,4,8,27,81,256,1024,3125,15625,46656,279936,823543,5764801,16777216,134217728,387420489,3486784401,10000000000,100000000000,285311670611,3138428376721,8916100448256,106993205379072,302875106592253,3937376385699289 mov $1,$0 div $1,2 sub $0,$1 pow $1,$0
copyright zengfr site:http://github.com/zengfr/romhack 038FBA add.w D3, D3 [enemy+95] copyright zengfr site:http://github.com/zengfr/romhack
global WinMain extern ExitProcess ; external functions in system libraries extern MessageBoxA section .data title: db 'Win64', 0 msg: db 'Hello world!', 0 section .text WinMain: sub rsp, 28h mov rcx, 0 ; hWnd = HWND_DESKTOP lea rdx,[msg] ; LPCSTR lpText lea r8,[title] ; LPCSTR lpCa...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x13fb8, %rsi lea addresses_normal_ht+0x19338, %rdi clflush (%rsi) cmp %rax, %rax mov $108, %rcx rep movsw nop nop nop nop sub %r10, %r10 lea addresses_A_ht+0x2d00, %rbx xor $35...
; A245425: Number of nonnegative integers with the property that their base 9/4 expansion (see A024652) has n digits. ; 9,18,36,81,180,405,918,2061,4635,10431,23472,52812,118827,267363,601560,1353510,3045402,6852150,15417342,34689015,78050286,175613148,395129583,889041555,2000343501,4500772875,10126738971,22785162687,5...
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
; A142180: Primes congruent to 35 mod 39. ; Submitted by Jon Maiga ; 113,191,269,347,503,659,971,1049,1283,1361,1439,1907,2063,2141,2297,2531,2609,2687,2843,2999,3389,3467,3623,3701,3779,4013,4091,4481,4637,4793,4871,5261,5417,5573,5651,5807,6197,6353,6899,6977,7211,7523,7757,8069,8147,8537,8693,8849,9161,9239,9473,955...
# Test program ASSIGN @value 5 :start_loop PRINT "Counting " @value SUB @value 1 NOT_EQUAL @is_equal @value 0 IF @is_equal :start_loop PRINT "Loop done!"