text
stringlengths
1
1.05M
; A158639: a(n) = 676*n^2 - 26. ; 650,2678,6058,10790,16874,24310,33098,43238,54730,67574,81770,97318,114218,132470,152074,173030,195338,218998,244010,270374,298090,327158,357578,389350,422474,456950,492778,529958,568490,608374,649610,692198,736138,781430,828074,876070,925418,976118,1028170,1081574,1136330,1192438,1249...
.data keno: .asciiz "\n" str1: .asciiz "HELLO WORLD!\n" str2: .asciiz "TEI OF ATHENS\n" number: .word 5 str3: .asciiz "DWSE MOU ENAN AKERAIO ARITHMO\n" str4: .asciiz "DIAVASA TON ARITHMO: " on1: .asciiz "DWSE MOU TO ONOMATEPWNUMO SOU\n" on2: .asciiz "SE LENE: " on3: .space 50 .text .globl main main: #ask 3.A li $a0,'...
; A188825: Number of 3Xn binary arrays without the pattern 0 1 diagonally or antidiagonally ; 8,16,48,144,432,1296,3888,11664,34992,104976,314928,944784,2834352,8503056,25509168,76527504,229582512,688747536,2066242608,6198727824,18596183472,55788550416,167365651248,502096953744,1506290861232 mov $1,3 pow $1,$0 mul $1,...
; A336705: Coordination sequence for the half-Manhattan lattice. ; 1,3,7,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228 mul $0,2 trn $0,1 mul $0,2 mov $2,$0 mov $3,1 lp...
SECTION code_fp_math48 PUBLIC _log1p EXTERN cm48_sdccix_log1p defc _log1p = cm48_sdccix_log1p
;/* ; * FreeRTOS Kernel <DEVELOPMENT BRANCH> ; * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. ; * ; * SPDX-License-Identifier: MIT ; * ; * Permission is hereby granted, free of charge, to any person obtaining a copy of ; * this software and associated documentation files (the "Software")...
%define PROT_READ 0x1 %define PROT_WRITE 0x2 global _main ; Arguments : rdi, rsi, rdx, rcx, r8, r9 section .text %include "io.asm" %include "mem.asm" %include "tests.asm" ; === === === === === === === === === === === === ; PROGRAM ; === === === === === === === === === === === === _main: ...
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ---------------------------------------------------------------------------- // "THE BEER-WARE LICENSE" (Revision 42): // <ztn@zurreal.com> wrote this fi...
;------------------------------------------------------------------------------ ; security_check_cookie.asm ; MS_CHANGE_? ;------------------------------------------------------------------------------ EXTRN __security_cookie:QWORD .code ;----------------------------------------------------------------------...
Map_361FD6: dc.w Frame_362046-Map_361FD6 dc.w Frame_362078-Map_361FD6 dc.w Frame_362098-Map_361FD6 dc.w Frame_3620A6-Map_361FD6 dc.w Frame_3620AE-Map_361FD6 dc.w Frame_3620B6-Map_361FD6 dc.w Frame_3620BE-Map_361FD6 dc.w Frame_3620CC-Map_361FD6 dc.w Frame_3620D4-Map_361FD6 dc.w Frame_3620DC-Map_361FD6 ...
; A026059: a(n) = (d(n)-r(n))/5, where d = A026057 and r is the periodic sequence with fundamental period (1,0,3,1,0). ; 5,10,16,25,36,49,65,83,105,130,158,190,225,265,309,357,410,467,530,598,671,750,834,925,1022,1125,1235,1351,1475,1606,1744,1890,2043,2205,2375,2553,2740,2935,3140,3354,3577,3810,4052,4305,4568,4841,51...
############################################################################### # 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...
; void *memccpy(void * restrict s1, const void * restrict s2, int c, size_t n) SECTION code_clib SECTION code_string PUBLIC memccpy EXTERN asm_memccpy memccpy: IF __CPU_INTEL__ | __CPU_GBZ80__ ld hl,sp+2 ld c,(hl) inc hl ld b,(hl) inc hl ld a,(hl) inc hl inc hl ld e,(hl) inc hl ...
// Tencent is pleased to support the open source community by making ncnn available. // // Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy ...
; A131466: a(n) = 5n^4 - 4n^3 + 3n^2 - 2n + 1. ; 1,3,57,319,1065,2691,5713,10767,18609,30115,46281,68223,97177,134499,181665,240271,312033,398787,502489,625215,769161,936643,1130097,1352079,1605265,1892451,2216553,2580607,2987769,3441315,3944641,4501263,5114817,5789059,6527865,7335231,8215273,9172227,10210449,11334415,...
; A313475: Coordination sequence Gal.6.119.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,10,14,18,22,26,30,34,38,43,48,53,58,62,66,70,74,78,82,86,91,96,101,106,110,114,118,122,126,130,134,139,144,149,154,158,162,166,170,174,1...
; Network stuff for racing game CARD_MAC dc.b $00,$80,$10,$0c,$64,$01 CARD_IP dc.b 192,168,1,64 CARD_MASK dc.b 255,255,255,0 CARD_GATE dc.b 192,168,1,1 CARD_GATE_MAC dc.b $00,$00,$00,$00,$00,$00 SERVER_IP .byte 208,79,218,201 ; Public SERVER_IP_LAN .byte 192,168,7,100 ; Private ; Default, over...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; NOT16r mov cx, 0x8 ;TEST_BEGIN_RECORDING not cx ;TEST_END_RECORDING
// Copyright John Maddock 2007. // 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) // Note that this file contains quickbook mark-up as well as code // and comments, don't ...
* Sprite f9 section sprite xdef mes_f9 include 'dev8_keys_sysspr' mes_f9 dc.b 0,sp.f9 * end
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by t...
/** * @file sampsonDistance.cpp * @brief mex interface for cv::sampsonDistance * @ingroup calib3d * @author Amro * @date 2016 */ #include "mexopencv.hpp" #include "opencv2/calib3d.hpp" using namespace std; using namespace cv; /** * Main entry called from Matlab * @param nlhs number of left-hand-side arguments ...
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CXformInlineCTEConsumerUnderSelect.cpp // // @doc: // Implementation of transform //--------------------------------------------------------------------------- #incl...
// $OpenLDAP$ /* * Copyright 2000-2015 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ #include "debug.h" #include "LDAPEntry.h" #include "LDAPAsynConnection.h" #include "LDAPException.h" using namespace std; LDAPEntry::LDAPEntry(const LDAPEntry& entry){ DEB...
LDA #$37 ASL A OUT A LDA #$AB ASL A OUT A
; A120881: a(n) = number of k's, for 1 <= k <= n, where GCD(k,floor(n/k)) > 1. ; Submitted by Jon Maiga ; 0,0,0,1,1,0,0,2,3,2,2,2,2,1,1,4,4,4,4,5,4,3,3,5,6,5,7,8,8,3,3,7,7,6,6,8,8,7,6,9,9,6,6,7,9,8,8,11,12,12,12,13,13,14,13,15,14,13,13,11,11,10,11,16,16,12,12,13,13,10,10,15,15,14,15,16,16,13,13,17,20,19,19,18,18,17,17,...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/devops-guru/model/TimestampMetricValuePair.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespac...
#ifndef FREESHOP_LOADINGSTATE_HPP #define FREESHOP_LOADINGSTATE_HPP #include "State.hpp" #include <cpp3ds/Graphics/Sprite.hpp> #include <cpp3ds/Graphics/Texture.hpp> #include <cpp3ds/System/Clock.hpp> #include <cpp3ds/Graphics/RectangleShape.hpp> #include <cpp3ds/Graphics/Text.hpp> namespace FreeShop { class Loading...
.data # Test String str: .asciiz "O +Genie, der# Herr ehre Dein 3Ego!-" tPalindrom: .asciiz "Palindrom" tNPalindrom: .asciiz "Kein " .text main: la $s0, str # lade Adresse von str in $s0 add $v0, $0, $0 # setze $v0 auf 0 finde_ende: # setzt $s0 auf Endadresse lb $s1, 0($s0) # lade erstes byte von str i...
//-------------------------------------------------------------------------------------------------- // Copyright (c) YugaByte, Inc. // // 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 // // ht...
copyright zengfr site:http://github.com/zengfr/romhack 0106B6 move.b ($49,A2), D0 0106BA beq $106da [123p+ 49] 010876 move.b ($49,A2), D0 01087A beq $1089a [123p+ 49] 0108FA move.b ($49,A2), D0 0108FE beq $1095e [123p+ 49] 01092E move.b ($49,A2), D0 010932 beq $1095e [123p+ 49] 01098A m...
; significant level values MAX_LEVEL EQU 100 MIN_LEVEL EQU 2 EGG_LEVEL EQU 5 ; maximum moves known per mon NUM_MOVES EQU 4 ; significant stat values BASE_STAT_LEVEL EQU 7 MAX_STAT_LEVEL EQU 13 ; turns that sleep lasts REST_SLEEP_TURNS EQU 2 TREEMON_SLEEP_TURNS EQU 7 ; default move priority BASE_PRIORITY EQU 1 ; ty...
// [AsmJit] // Complete x86/x64 JIT and Remote Assembler for C++. // // [License] // Zlib - See LICENSE.md file in the package. // [Export] #define ASMJIT_EXPORTS // [Dependencies] #include "../base/assembler.h" #include "../base/constpool.h" #include "../base/utils.h" #include "../base/vmem.h" #include...
; A160017: Lodumo_2 of Thue-Morse sequence A010060. ; Submitted by Simon Strandgaard ; 0,1,3,2,5,4,6,7,9,8,10,11,12,13,15,14,17,16,18,19,20,21,23,22,24,25,27,26,29,28,30,31,33,32,34,35,36,37,39,38,40,41,43,42,45,44,46,47,48,49,51,50,53,52,54,55,57,56,58,59,60,61,63,62,65,64,66,67,68,69,71,70,72 mov $1,$0 div $1,2 mul ...
; A168300: a(n) = 6*n - a(n-1) - 2 with a(1)=5. ; 5,5,11,11,17,17,23,23,29,29,35,35,41,41,47,47,53,53,59,59,65,65,71,71,77,77,83,83,89,89,95,95,101,101,107,107,113,113,119,119,125,125,131,131,137,137,143,143,149,149,155,155,161,161,167,167,173,173,179,179,185,185,191,191,197,197,203,203,209,209,215,215,221,221,227,227,...
; A211263: Number of integer pairs (x,y) such that 0<x<y<=n and x*y=floor(n/2). ; 0,0,0,1,1,1,1,1,1,1,1,2,2,1,1,2,2,1,1,2,2,1,1,3,3,1,1,2,2,2,2,2,2,1,1,3,3,1,1,3,3,2,2,2,2,1,1,4,4,1,1,2,2,2,2,3,3,1,1,4,4,1,1,3,3,2,2,2,2,2,2,4,4,1,1,2,2,2,2,4,4,1,1,4,4,1,1,3,3,3,3,2,2,1,1,5,5,1,1 sub $0,1 div $0,2 seq $0,5 ; d(n) (also...
/** * @file main.cpp * @author Erfan Rasti (erfanrasty@gmail.com) * @brief * @version 1.0.2 * @date 2022-03-24 * * @copyright Copyright (c) 2022 * */ // Adding the libraries #include "client.h" #include "server.h" #include <gtest/gtest.h> #include <iostream> void show_pending_transactions() ...
.size 8000 .text@48 ld a, ff 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, 41 .text@1000 lstatint: nop .text@1064 ld a, 20 ldff(c), a ...
/***************************************************************************************** * * * GHOUL * * General Helpful Open Utility Library ...
/** * Copyright (c) 2018, University Osnabrück * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this li...
.model flat, c .code extern GetFileVersionInfoA_Original:DWORD extern GetFileVersionInfoByHandle_Original:DWORD extern GetFileVersionInfoExA_Original:DWORD extern GetFileVersionInfoExW_Original:DWORD extern GetFileVersionInfoSizeA_Original:DWORD extern GetFileVersionInfoSizeExA_Original:DWORD extern GetFileVersionInfoS...
; ; Spectrum C Library ; ; Print character to the screen in either 32/64 col mode ; ; We will corrupt any register ; ; Scrolling is now achieved by calling ROM3 routine 3582 ; ; We print over 24 lines at 64 columns ; ; djm 3/3/2000 ; ; ; $Id: fputc_cons.asm,v 1.18 2016-05-15 20:15:46 dom Exp $ ;...
; A153638: Odiousness of triangular numbers. ; 0,1,0,0,0,0,1,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,0,1,0,0,0,1,1,0,0,0,0,1,0,0,1,0,0,1,1,1,1,0,1,0,1,0,1,0,0,0,0,1,0,1,0,1,0,0,0,0,1,0,1,0,1,1,0,1,0,0,1,0,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,1,1,0 mov $2,$0 mul $2,2 add $2,2 mul $0,$2 lpb $0,1 sub $0,1 di...
// Copyright (c) 2017-2018 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "zmagwallet.h" #include "main.h" #include "txdb.h" #include "walletdb.h" #include "init.h" #include "wallet.h" #include "pri...
[org 0x7c00] ; 以下は標準的なFAT12フォーマットフロッピーディスクのための記述 jmp short entry db 0x90 db "CLOUMO " ; ブートセクタの名前を自由に書いてよい(8バイト) dw 512 ; 1セクタの大きさ(512にしなければいけない) db 1 ; クラスタの大きさ(1セクタにしなければいけない) dw 1 ; FATがどこから始まるか(普通は1セクタ目からにする) db 2 ; FATの個数(2にしなければいけない) dw 224 ; ルートディレクトリ領域の大きさ(普通は224エントリにす...
; A131379: Period 4: repeat [1, 0, -1, 1]. ; 1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1,1,0,-1,1 add $0,1 mod $0,4 mul $0,13 trn $0,13 mov $1,13 sub $1,$0 div $1,13
; A172078: a(n) = n*(16*n^2 + 3*n - 13)/6. ; 0,1,19,70,170,335,581,924,1380,1965,2695,3586,4654,5915,7385,9080,11016,13209,15675,18430,21490,24871,28589,32660,37100,41925,47151,52794,58870,65395,72385,79856,87824,96305,105315,114870,124986,135679,146965,158860,171380,184541,198359,212850,228030,243915,260521,277864,295...
; --------------------------------------------------------------------------- ; Animation script - doors (SBZ) ; --------------------------------------------------------------------------- dc.w Ani_obj2A_Shut-Ani_obj2A dc.w Ani_obj2A_Open-Ani_obj2A Ani_obj2A_Shut: dc.b 0, 8, 7, 6, 5, 4, 3, 2, 1, 0, $FE, 1 Ani_obj2A...
// // execution_context.hpp // ~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) // #ifndef BOOST_ASIO_EXECUT...
_sh: file format elf32-i386 Disassembly of section .text: 00000000 <main>: return 0; } int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %ebp ...
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
; A062004: a(n) = mu(n)*(2n). ; 2,-4,-6,0,-10,12,-14,0,0,20,-22,0,-26,28,30,0,-34,0,-38,0,42,44,-46,0,0,52,0,0,-58,-60,-62,0,66,68,70,0,-74,76,78,0,-82,-84,-86,0,0,92,-94,0,0,0,102,0,-106,0,110,0,114,116,-118,0,-122,124,0,0,130,-132,-134,0,138,-140,-142,0,-146,148,0,0,154,-156,-158,0,0,164,-166,0,170,172,174,0,-178,0,1...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: Cluster mode dithering for filling mono bitmaps FILE: monoRaster.asm AUTHOR: Jim DeFrisco, Mar 3, 1992 ROUTINES: Name Description ---- ---...
; A025738: Index of 9^n within sequence of numbers of form 8^i*9^j. ; 1,3,6,10,15,21,28,36,45,55,66,78,91,105,120,136,153,171,191,212,234,257,281,306,332,359,387,416,446,477,509,542,576,611,647,684,723,763,804,846,889,933,978,1024,1071,1119,1168,1218,1269,1321,1374,1428,1483,1540,1598 mov $3,$0 add $3,1 mov $5,$0 lpb ...
#include "pepch.h" #include "Entity.h" //#include "Components\TransformComponent.h" #include "Components\Components.h" #include "editor\EditorLayer.h" namespace PrettyEngine { Entity::Entity(const String& entityName, const String& entityTag) : tag(entityTag), name(entityName) { /* memset(m_Properties.name, 0, 4...
db DEX_WIGGLYTUFF ; pokedex id db 140 ; base hp db 70 ; base attack db 45 ; base defense db 45 ; base speed db 85 ; base special db FIGHTING ; species type 1 db FAIRY ; species type 2 db FULL_HEAL ; catch rate db 60 ; base exp yield INCBIN "pic/ymon/wigglytuff.pic",0,1 ; 66, sprite dimensions dw WigglytuffPicFront dw W...
.z180 #target bin #code TEXT, $100 #include "src/z180registers.z80" .org $100 start: ld hl, $81 ld de, srcaddr spaces: ld a, (hl) inc hl or a jr z, noargs cp a, ' ' jr z, spaces digits: call read_hex jr c, badarg ex de, hl rld inc hl rld dec hl ex de, hl or a jr nz, overflow ...
; uint zx_saddr2px(void *pixeladdr, uchar mask) ; CALLER linkage for function pointers XLIB zx_saddr2px LIB zx_saddr2px_callee XREF ASMDISP_ZX_SADDR2PX_CALLEE .zx_saddr2px pop af pop de pop hl push hl push de push af ld a,e jp zx_saddr2px_callee + ASMDISP_ZX_SADDR2PX_CALLEE
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="fd, iovec, count"/> <%docstring> Invokes the syscall writev. See 'man 2 writev' for more information. Arguments: fd(int): fd iovec(iovec): iovec count(int): count </%docstring> ${syscall('SYS_writev', fd, iovec, count)}
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 00063A cmpi.b #-$1, (A0) [base+ 36] 00063E beq $69e [base+ 3A, base+ 4A, base+ 5A, base+ 8A, base+ 9A, base+ AA, base+ BA, base+ EA, base+ FA, base+12A, base+13A, base+16A, base+17A, base+1CA, base+1DA, b...
; void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *)) SECTION code_clib SECTION code_stdlib PUBLIC _qsort_callee EXTERN asm_qsort _qsort_callee: pop af pop bc pop hl pop de pop ix push af jp asm_qsort
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2005-2008. 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) // // See http://www.boost.org/libs/i...
; A050250: Number of nonzero palindromes less than 10^n. ; Submitted by Jon Maiga ; 9,18,108,198,1098,1998,10998,19998,109998,199998,1099998,1999998,10999998,19999998,109999998,199999998,1099999998,1999999998,10999999998,19999999998,109999999998,199999999998,1099999999998,1999999999998,10999999999998,19999999999998,109...
psect text,class=CODE global _RLEData,_workpage global _CEIL,_FLOOR muluw_hl_bc macro db 0xed,0xc3 ;de:hl<-hl*bc endm mulub_a_b macro db 0xED,0xC1 ;hl<- a*b endm ;; void hmmcTexRender(uchar x, uint lineHeight, char* texData); ; input: e = x-coord (e & 3) == 0 ; bc = lineHeight...
; void dzx1_smart_rcs_callee(void *src, void *dst) SECTION code_clib SECTION code_compress_zx1 PUBLIC dzx1_smart_rcs_callee EXTERN asm_dzx1_smart_rcs dzx1_smart_rcs_callee: IF __CPU_GBZ80__ pop bc pop de pop hl push bc ELSE pop hl pop de ex (sp),hl ENDIF jp asm_dzx1_smart_rcs
#include "stdafx.h" #include "CNodeScriptRuntime.h" CNodeScriptRuntime::CNodeScriptRuntime() { int eac; const char** eav; const char* argv[] = { "alt-server", "--experimental-modules", "--es-module-specifier-resolution=node", "--trace-warnings" }; int argc = sizeof(argv) / sizeof(const char*); n...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x2945, %rsi lea addresses_D_ht+0x11195, %rdi clflush (%rdi) nop nop nop nop nop cmp $23409, %rax mov $53, %rcx rep movsq nop nop nop xor %rdx, %rdx lea addresses_UC_ht+0x1e595...
; MH6111/TMP76C75T Bootstrap from Serial test code (TASM) ; Jane Hacker ; 9th Feb 2022 ; ; XTAL = 12MHz, E = 12MHz/6 = 2MHz ; Baud rate = 2Mhz/4096 = 488 Baud (Nice and slow) ; Baud rate = 2Mhz/128 = 15,625 Baud ; Baud rate = 2Mhz/16 = 125,000 Baud (Holy smokes!) ; ; Run in Mode 2, Multiplexed/RAM/No ROM, P20: L, P21: ...
; float floor(float x) SECTION code_fp_math48 PUBLIC cm48_sdccix_floor EXTERN cm48_sdccix_floor_fastcall cm48_sdccix_floor: pop af pop hl pop de push de push hl push af jp cm48_sdccix_floor_fastcall
# Test5 - AND Test pushb false pushb true and halt
; Dieses Programm löscht den Bildschirm und gibt einen Text an einer definierten Position aus. ; Programmstart mit SYS 49152 *=$c000 ; Startadresse des Programms BSOUT = $FFD2 start lda #147 ; Steuerzeichen für Bildschirm löschen jsr BSOUT ; Löschen durchführen ld...
INCLUDE "config_private.inc" SECTION code_clib SECTION code_math PUBLIC l_fast_divu_24_24x24, l0_fast_divu_24_24x24 EXTERN l0_fast_divu_16_16x16, l0_fast_divu_24_24x16, error_divide_by_zero_mc divu_24_16x24: ; hl / dbc inc d dec d jr nz, result_zero divu_24_16x16: ; hl / bc ld e,c ld ...
.cseg .org 0x00 rcall main_thread ; include components interrupts ;.include "../../../../../src/kernel/drivers/{driver_name}_int.asm" .include "../../../../../src/kernel/drivers/soc/ac_int.asm" ; include SoC defaults .include "m8def.inc" ; include components definitions .include "../../../../../src/kernel/kernel_def.a...
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
object_const_def Osaka_MapScripts: db 0 ; scene scripts db 0 ; callbacks ;callback MAPCALLBACK_NEWMAP, .InitializeRoom ;callback MAPCALLBACK_TILES, .SetSpawn Osaka_MapEvents: db 0, 0 ; filler db 2 ; warp events warp_event 4, 10, KOCHI, 1 warp_event 4, 11, KOCHI, 2 db 0 ; coord events db 0 ; bg events...
;================================================================================ ; Inventory Updates ;================================================================================ !INVENTORY_SWAP = "$7EF38C" ; Item Tracking Slot ; brmpnskf ; b = blue boomerang ; r = red boomerang ; m = mushroom current ; p = magic ...
; A117560: a(n) = n*(n^2 - 1)/2 - 1. ; 2,11,29,59,104,167,251,359,494,659,857,1091,1364,1679,2039,2447,2906,3419,3989,4619,5312,6071,6899,7799,8774,9827,10961,12179,13484,14879,16367,17951,19634,21419,23309,25307,27416,29639,31979,34439,37022,39731,42569,45539,48644,51887,55271,58799,62474,66299,70277,74411,78704,83159...
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
;;############################################################################# ;;! \file source/vector/add_SP_CSxCV.asm ;;! ;;! \brief C-Callable addition of a complex scalar from a complex vector ;;! \author David M. Alter ;;! \date 07/15/11 ;; ;; HISTORY: ;; 07/15/11 - original (D. Alter) ;; ;; DESCRIPTION: C-C...
; A170111: Number of reduced words of length n in Coxeter group on 6 generators S_i with relations (S_i)^2 = (S_i S_j)^38 = I. ; 1,6,30,150,750,3750,18750,93750,468750,2343750,11718750,58593750,292968750,1464843750,7324218750,36621093750,183105468750,915527343750,4577636718750,22888183593750,114440917968750,57220458984...
.constant_pool .const 0 string [start] .const 1 string [constructor] .const 2 string [var1] .const 3 string [Hello world !!!] .const 4 int [1] .const 5 string [io.writeln] .end .entity start .valid_context_when (always) .method constructor .var 0 string var1 ldconst 3 ...
;_ faterr.asm ; Copyright (C) 1985-1994 Digital Mars ; All rights reserved. ; 32 bit fatal error exit ; $Revision: 1.1.1.2 $ include macros.asm extrn __Exit:near ifdef _WIN32 extrn __win32_faterr:near endif ifdef M_UNIX extrn _write:near endif ifdef __OS2__ ext...
;Running Ball ;Jackie Wu (Wu Kan) ;14348134 ;wkcn@live.cn ;totalDelay = outDelay * inDelay org 100H outDelay equ 40000 inDelay equ 1000 ;80 x 25 SCREEN_X equ 80 SCREEN_Y equ 25 ;Ball in this Rect MIN_X equ 40 MIN_Y equ 0 MAX_X equ 80 MAX_Y equ 13 ;set data segment ;mov ax,07c0h mov ax,cs mov ds,ax ...
//---------------------------------------------------------------------- // File: kd_split.cpp // Programmer: Sunil Arya and David Mount // Description: Methods for splitting kd-trees // Last modified: 01/04/05 (Version 1.0) //---------------------------------------------------------------------- // Copyright (c) 1...
org 0x100 bits 16 cpu 8086 COM1_BASE equ 0x3f8 COM1_THR equ COM1_BASE + 0 ; Transmitter Holding Buffer COM1_RBR equ COM1_BASE + 0 ; Receiver Buffer COM1_IER equ COM1_BASE + 1 ; Interrupt Enable Register COM1_FCR equ COM1_BASE + 2 ; FIFO Control Register COM1_IIR equ COM1_BASE + 2 ; Interrupt Identification Regi...
; ; ; ZX Maths Routines ; ; 21/03/03 - Stefano Bodrato ; ; $Id: sinh.asm,v 1.3 2015/01/19 01:32:57 pauloscustodio Exp $ ; ;double sinh(double) ; e = exp(x) ; ; return ((e-1.0/e)/2) ; IF FORzx INCLUDE "zxfp.def" ELSE INCLUDE "81fp.def" ENDIF PUBLIC sinh EXTE...
; A284723: Smallest odd prime that is relatively prime to n. ; 3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3 add $0,1 mov $1,1 lpb $0 add $1,2 dif $0,$1 lpe add ...
#include "Arduino.h" #include "test.h" #define DEBUG #ifdef DEBUG #include "avr8-stub.h" #include "app_api.h" // only needed with flash breakpoints #endif Test *test; int a; void setup() { #ifdef DEBUG debug_init(); #endif test = new Test(); // initialize LED digital pin as an output. pinMode(LED_BUILTIN, ...
SECTION code_fp_am9511 PUBLIC cam32_sdcc_fabs EXTERN cam32_sdcc_read1, asm_am9511_fabs_fastcall .cam32_sdcc_fabs call cam32_sdcc_read1 jp asm_am9511_fabs_fastcall
// How many Fibs? // Created by Kim Jong-uk at 2017.02.09 // Protected by MIT license #include <stdio.h> #include <string.h> #define MAXIMUM_STRING_LENGTH 100 char Fib[3][MAXIMUM_STRING_LENGTH + 1]; char Result[2][MAXIMUM_STRING_LENGTH + 1]; int lengthA, lengthB, fibLength[3]; int compare(int targetA,char *point, i...
############################################################################### # Copyright 2019 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...
global read_eip read_eip: pop eax jmp eax global copy_page_physical copy_page_physical: push ebx pushf cli mov ebx, [esp+12] mov ecx, [esp+16] mov edx, cr0 and edx, 0x7fffffff mov cr0, edx mov edx, 1024 .loop: mov eax, [ebx] mov [ecx], eax add ebx, 4 add ec...
;/* ************************************************************************* ;** INTEL Corporation Proprietary Information ;** ;** This listing is supplied under the terms of a license ;** agreement with INTEL Corporation and may not be copied ;** nor disclosed except in accordance with the terms of ...
; uchar esxdos_f_readdir(uchar handle, void *buf) INCLUDE "config_private.inc" SECTION code_clib SECTION code_esxdos PUBLIC asm_esxdos_f_readdir EXTERN __esxdos_error_zc asm_esxdos_f_readdir: ; F_READDIR: ; Read a dir entry to buffer pointed to by HL. A=handle. ; ; Buffer format: ; ; <asciiz> fi...
/* * @Author: py.wang * @Date: 2019-05-07 09:22:53 * @Last Modified by: py.wang * @Last Modified time: 2019-05-07 09:26:25 */ #include "src/base/CountDownLatch.h" using namespace slack; // initialize CountDownLatch::CountDownLatch(int count) : mutex_(), condition_(mutex_), count_(count) { } // 条件...
; A027480: a(n) = n*(n+1)*(n+2)/2. ; 0,3,12,30,60,105,168,252,360,495,660,858,1092,1365,1680,2040,2448,2907,3420,3990,4620,5313,6072,6900,7800,8775,9828,10962,12180,13485,14880,16368,17952,19635,21420,23310,25308,27417,29640,31980,34440,37023,39732,42570,45540,48645,51888,55272,58800,62475,66300,70278,74412,78705,83160...
; --------------------------------------------------------------------------- ; Animation script - Sonic ; --------------------------------------------------------------------------- Ani_Sonic: ptr_Walk: dc.w SonAni_Walk-Ani_Sonic ptr_Run: dc.w SonAni_Run-Ani_Sonic ptr_Roll: dc.w SonAni_Roll-Ani_Sonic ptr_Roll2: dc.w ...
//menu.hpp //Game starting menu //Chuluunbat Purev //2020-12-4 #ifndef MENU_HEADER #define MENU_HEADER #include "SFML/Graphics.hpp" #define MENU_ITEMS 2 class Menu { public: Menu(); //Scaling to window void start(int width, int height); //Keyboard inputs void moveUp(); void moveDown(); //Get seleceted menu i...
; vim: ft=nasm ; summary: http://ascii-table.com/ansi-escape-sequences.php ; elaborate: http://ascii-table.com/ansi-escape-sequences-vt-100.php %include "./lib/signals.mac" ;%include "./lib/log.mac" extern ansi_cursor_hide extern ansi_cursor_position extern ansi_cursor_show extern ansi_term_clear extern sys_nanosl...
; A131524: Number of possible palindromic rows (or columns) in an n X n crossword puzzle. ; 0,0,1,1,2,2,4,4,7,7,12,12,20,20,33,33,54,54,88,88,143,143,232,232,376,376,609,609,986,986,1596,1596,2583,2583,4180,4180,6764,6764,10945,10945,17710,17710,28656,28656,46367,46367,75024,75024,121392,121392,196417,196417,317810,317...